[arch-commits] Commit in dunst/trunk (PKGBUILD)
Johannes Löthberg
demize at archlinux.org
Wed Jan 2 11:44:18 UTC 2019
Date: Wednesday, January 2, 2019 @ 11:44:18
Author: demize
Revision: 420266
upgpkg: dunst 1.3.2-2
Modified:
dunst/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-02 10:50:48 UTC (rev 420265)
+++ PKGBUILD 2019-01-02 11:44:18 UTC (rev 420266)
@@ -4,7 +4,7 @@
pkgname=dunst
pkgver=1.3.2
-pkgrel=1
+pkgrel=2
pkgdesc="Customizable and lightweight notification-daemon"
url="https://dunst-project.org/"
@@ -11,7 +11,9 @@
arch=('x86_64')
license=('BSD')
-depends=('libxinerama' 'libxss' 'pango' 'libnotify' 'gdk-pixbuf2' 'libxdg-basedir' 'libxrandr')
+depends=('libxinerama' 'libxss' 'pango' 'gdk-pixbuf2' 'libxdg-basedir' 'libxrandr')
+makedepends=('libnotify')
+optdepends=('libnotify: dunstify')
provides=('notification-daemon')
@@ -19,12 +21,17 @@
md5sums=('68ad9fd1dab537d7a1ad93c899c50278')
build() {
- make -C "$srcdir/$pkgname-$pkgver" PREFIX=/usr X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
+ cd dunst-$pkgver
+
+ make PREFIX=/usr X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 all dunstify
}
package() {
- make -C "$pkgname-$pkgver" DESTDIR="${pkgdir}" PREFIX=/usr install
- install -Dm644 "${srcdir}/$pkgname-$pkgver/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ cd dunst-$pkgver
+
+ make DESTDIR="$pkgdir" PREFIX=/usr install
+ install -Dm755 dunstify "$pkgdir"/usr/bin/dunstify
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list