summaryrefslogtreecommitdiff
path: root/pcr/dunst-next/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-03-07 18:56:07 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2017-03-07 18:56:07 -0500
commit090f888e57851a44d6db152c70bcd25d16ca548b (patch)
tree8ce1fec425eb9bd64ced3b165cbca6fe1e652168 /pcr/dunst-next/PKGBUILD
parentc0f6f0bc32e3349c840aa1cd915fc12b2a22cc03 (diff)
downloadabslibre-090f888e57851a44d6db152c70bcd25d16ca548b.tar.gz
abslibre-090f888e57851a44d6db152c70bcd25d16ca548b.tar.bz2
abslibre-090f888e57851a44d6db152c70bcd25d16ca548b.zip
add pcr/dunst-next
Diffstat (limited to 'pcr/dunst-next/PKGBUILD')
-rw-r--r--pcr/dunst-next/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/pcr/dunst-next/PKGBUILD b/pcr/dunst-next/PKGBUILD
new file mode 100644
index 000000000..808522364
--- /dev/null
+++ b/pcr/dunst-next/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Luke Shumaker <lukeshu@parabola.nu>
+# Maintainer (Arch:dunst): Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor (Arch:dunst): feuri
+
+_pkgname=dunst
+_pkgver=1.2.0
+
+pkgname=$_pkgname-next
+pkgver=20170301
+_gitver='57e9d07c30861954f4ddd8f9f68f17335fec47f7'
+
+pkgrel=1
+pkgdesc="Customizable and lightweight notification-daemon"
+arch=('i686' 'x86_64')
+url="https://github.com/dunst-project/dunst/tree/next"
+license=(BSD3)
+depends=(dbus gtk2 libxdg-basedir libxss)
+provides=(notification-daemon)
+source=("$_pkgname-$_gitver.tar.gz::https://github.com/dunst-project/dunst/archive/$_gitver.tar.gz")
+md5sums=('99f2a413bb3151b235c52981ac9aef66')
+
+provides+=("$_pkgname=_pkgver")
+conflicts+=("$_pkgname")
+
+prepare() {
+ echo "next-$pkgver" > "$srcdir/$_pkgname-$_gitver/VERSION"
+}
+
+build() {
+ make -C "$srcdir/$_pkgname-$_gitver"
+}
+
+package() {
+ make -C "$_pkgname-$_gitver" DESTDIR="${pkgdir}" PREFIX=/usr install
+ install -Dm644 "${srcdir}/$_pkgname-$_gitver/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et: