blob: 74e017a9ad7d440ff58182560601e118890a6565 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=wmctrl
pkgver=1.07
pkgrel=0
pkgdesc="wmctrl is a UNIX/Linux command line tool to interact with an EWMH/NetWM compatible X Window Manager"
url="https://sites.google.com/site/tstyblo/wmctrl"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="libxmu-dev libx11-dev glib-dev"
install=""
subpackages="$pkgname-doc"
source="https://sites.google.com/site/tstyblo/wmctrl/wmctrl-1.07.tar.gz"
_builddir=${srcdir}/${pkgname}-${pkgver}
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--prefix=/usr \
--mandir=/usr/share/man || return 1
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="1fe3c7a2caa6071e071ba34f587e1555 wmctrl-1.07.tar.gz"
sha256sums="d78a1efdb62f18674298ad039c5cbdb1edb6e8e149bb3a8e3a01a4750aa3cca9 wmctrl-1.07.tar.gz"
sha512sums="4c77ad1e204e8d444f682ad1d05c0993bcab9097ac6d4b6a944556ab85acbe713f549dbaf443cd4d1226a162ce7d46fbd209c92652e87fc8e609feee74907daa wmctrl-1.07.tar.gz"
|