From 090f888e57851a44d6db152c70bcd25d16ca548b Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 7 Mar 2017 18:56:07 -0500 Subject: add pcr/dunst-next --- pcr/dunst-next/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pcr/dunst-next/PKGBUILD 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 +# Maintainer (Arch:dunst): Daniel Wallace +# 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: -- cgit v1.2.3