summaryrefslogtreecommitdiff
path: root/pcr/dunst-next/PKGBUILD
diff options
context:
space:
mode:
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: