[arch-commits] Commit in notification-daemon/trunk (PKGBUILD)

Brett Cornwall ainola at archlinux.org
Wed Apr 3 04:24:07 UTC 2019


    Date: Wednesday, April 3, 2019 @ 04:24:06
  Author: ainola
Revision: 448263

upgpkg: notification-daemon 3.20.0-3

PKGBUILD cleanups

Modified:
  notification-daemon/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++++--------------
 1 file changed, 10 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-03 04:13:49 UTC (rev 448262)
+++ PKGBUILD	2019-04-03 04:24:06 UTC (rev 448263)
@@ -3,22 +3,18 @@
 
 pkgname=notification-daemon
 pkgver=3.20.0
-pkgrel=2
-pkgdesc="Notification daemon for the desktop notifications framework"
+pkgrel=3
+pkgdesc="Server implementation of the freedesktop.org desktop notification specification"
 arch=(x86_64)
-license=(GPL)
-url="http://www.gnome.org/"
-depends=(gtk3 libcanberra)
+license=(GPL2)
+url="https://wiki.gnome.org/Projects/NotificationDaemon"
+depends=(gtk3)
 makedepends=(intltool)
-source=(http://download.gnome.org/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz)
+source=("https://download.gnome.org/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz")
 sha256sums=('dd13768f35fd8bba9c4920b0f8269f39270e5a3cfed1a34c3b940a492286ece5')
 
-prepare() {
-    cd ${pkgname}-${pkgver}
-}
-
 build() {
-    cd ${pkgname}-${pkgver}
+    cd "${pkgname}-${pkgver}"
     ./configure --prefix=/usr --sysconfdir=/etc \
         --libexecdir=/usr/lib/notification-daemon-1.0 \
         --localstatedir=/var --disable-static
@@ -26,11 +22,11 @@
 }
 
 check() {
-    cd ${pkgname}-${pkgver}
+    cd "${pkgname}-${pkgver}"
     make check
 }
 
 package() {
-    cd ${pkgname}-${pkgver}
-    make DESTDIR=${pkgdir} install
+    cd "${pkgname}-${pkgver}"
+    make DESTDIR="${pkgdir}" install
 }



More information about the arch-commits mailing list