summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorGaber Ayoubi <gaber.ayoubi@gmail.com>2014-07-25 22:17:50 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-07-30 14:45:11 +0000
commitbe6be0e8bc884075b319b5d91bbe3b037af259a4 (patch)
tree4e0c7ccdc3d31aec946df81aa6e5329acdc41e65 /testing
parenta3746f43cc8858fc1494f11b9c205047a60c8aee (diff)
downloadaports-be6be0e8bc884075b319b5d91bbe3b037af259a4.tar.bz2
aports-be6be0e8bc884075b319b5d91bbe3b037af259a4.tar.xz
testing/dwm: add new package
Diffstat (limited to 'testing')
-rw-r--r--testing/dwm/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/dwm/APKBUILD b/testing/dwm/APKBUILD
new file mode 100644
index 000000000..b314af7c8
--- /dev/null
+++ b/testing/dwm/APKBUILD
@@ -0,0 +1,41 @@
+# 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
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="8bb00d4142259beb11e13473b81c0857 dwm-6.0.tar.gz"
+sha256sums="b2b9483de69259eeea56844899bb2385158d3e79a42d82b10c142099fc8eeb56 dwm-6.0.tar.gz"
+sha512sums="895d1d363b3756c9ba19dbf06af34be753c1ae5971d540113d7f8901ad174c2e5944ef769b43e65f7b700f34832bb24082bc91d999b287610c9925182ce70c00 dwm-6.0.tar.gz"