diff options
author | Francesco Colista <fcolista@bethel.jw.org> | 2017-06-27 14:48:52 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@bethel.jw.org> | 2017-06-27 14:48:52 +0000 |
commit | aa50dbf44215827315c1150b18856d19d5d7ac5e (patch) | |
tree | e4186b4c3f34ccc1020198dd9e0d83df6cd64d51 /community | |
parent | 3ca9f55bfe958c06a5edbda580fe9a4d86e3b5b0 (diff) | |
download | aports-aa50dbf44215827315c1150b18856d19d5d7ac5e.tar.bz2 aports-aa50dbf44215827315c1150b18856d19d5d7ac5e.tar.xz |
community/dunst: package version in src should be a variable. Added check() function
Diffstat (limited to 'community')
-rw-r--r-- | community/dunst/APKBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/community/dunst/APKBUILD b/community/dunst/APKBUILD index 7979ee543f..34d5d6b6df 100644 --- a/community/dunst/APKBUILD +++ b/community/dunst/APKBUILD @@ -7,11 +7,17 @@ pkgdesc="A customizable and lightweight notification-daemon" url="http://knopwob.org/dunst/" arch="all" license="BSD" -makedepends="libxscrnsaver-dev libxdg-basedir-dev libxft-dev libxinerama-dev dbus-dev freetype-dev glib-dev pango-dev cairo-dev " +makedepends="libxscrnsaver-dev libxdg-basedir-dev libxft-dev + libxinerama-dev dbus-dev freetype-dev glib-dev pango-dev cairo-dev " subpackages="$pkgname-doc" -source="http://knopwob.org/public/dunst-release/dunst-1.1.0.tar.bz2" - +source="http://knopwob.org/public/dunst-release/$pkgname-$pkgver.tar.bz2" builddir="$srcdir/$pkgname-$pkgver" + +check() { + cd "$builddir" + make test +} + build() { cd "$builddir" make @@ -22,6 +28,4 @@ package() { make DESTDIR="$pkgdir" PREFIX=/usr install } -md5sums="7c37fb5306012fd658839908479dbbed dunst-1.1.0.tar.bz2" -sha256sums="c72bf167eaab4e44a98ec87101b023efee0aa8916df56630b99a5bc53f8d7070 dunst-1.1.0.tar.bz2" sha512sums="ba01a6b18da5199b3356342f5c22592f93f447389267810bbfc35decf1a67f89650d445d3c1dd6f3cc76a4f86f7165adc777b669444627e42d3e671d4f04a04b dunst-1.1.0.tar.bz2" |