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

Jan Steffens heftig at archlinux.org
Fri Jan 1 18:45:07 UTC 2016


    Date: Friday, January 1, 2016 @ 19:45:07
  Author: heftig
Revision: 257435

Give this old thing an overhaul

Modified:
  libnotify/trunk/PKGBUILD

----------+
 PKGBUILD |   34 ++++++++++++++++++++--------------
 1 file changed, 20 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-01-01 18:27:10 UTC (rev 257434)
+++ PKGBUILD	2016-01-01 18:45:07 UTC (rev 257435)
@@ -3,23 +3,29 @@
 
 pkgname=libnotify
 pkgver=0.7.6
-pkgrel=1
-pkgdesc="Desktop notification library"
-arch=('i686' 'x86_64')
-url="http://library.gnome.org/devel/notification-spec/"
-license=('LGPL')
-depends=('gdk-pixbuf2')
-makedepends=('gtk3' 'gobject-introspection')
-source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/0.7/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('0ef61ca400d30e28217979bfa0e73a7406b19c32dd76150654ec5b2bdf47d837')
+pkgrel=2
+pkgdesc="Library for sending desktop notifications"
+arch=(i686 x86_64)
+url="https://developer.gnome.org/notification-spec/"
+license=(LGPL)
+depends=(gdk-pixbuf2)
+makedepends=(gtk3 gobject-introspection git gnome-common)
+_commit=2f2c5649ef210b1dffeb46cddf062d20e1518ccf
+source=("git://git.gnome.org/libnotify#commit=$_commit")
+sha256sums=('SKIP')
 
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-    cd ${pkgname}-${pkgver}
-    ./configure --prefix=/usr --disable-static
-    make
+  cd $pkgname
+  ./configure --prefix=/usr --disable-static --enable-gtk-doc
+  make
 }
 
 package() {
-    cd ${pkgname}-${pkgver}
-    make DESTDIR="${pkgdir}" install
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list