blob: 0a52f6add8c5ad43ffea8a061af7c293e19fc60c (
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
|
# Contributor: Gaber Ayoubi <gaber.ayoubi@gmail.com>
# Maintainer:
pkgname=dwm
pkgver=6.0
pkgrel=0
pkgdesc="dwm - dynamic window manager"
url="http://dwm.suckless.org"
arch="all"
license="MIT/X"
depends=""
depends_dev=""
makedepends="$depends_dev libx11-dev libxinerama-dev"
install=""
subpackages="$pkgname-doc"
source="http://dl.suckless.org/dwm/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/dwm-$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"
make || return 1
}
package() {
cd "$_builddir"
make PREFIX=/usr DESTDIR="$pkgdir" install || return 1
}
md5sums="8bb00d4142259beb11e13473b81c0857 dwm-6.0.tar.gz"
sha256sums="b2b9483de69259eeea56844899bb2385158d3e79a42d82b10c142099fc8eeb56 dwm-6.0.tar.gz"
sha512sums="895d1d363b3756c9ba19dbf06af34be753c1ae5971d540113d7f8901ad174c2e5944ef769b43e65f7b700f34832bb24082bc91d999b287610c9925182ce70c00 dwm-6.0.tar.gz"
|