summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD23
2 files changed, 22 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6646b330c43..c3f27d3b765 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,21 @@
# Generated by mksrcinfo v8
-# Sun Aug 21 04:44:48 UTC 2016
+# Sun Sep 11 05:34:53 UTC 2016
pkgbase = lib32-libnotify
- pkgdesc = Desktop notification library (32-bit)
+ pkgdesc = Library for sending desktop notifications (32-bit)
pkgver = 0.7.6
- pkgrel = 4
- url = http://library.gnome.org/devel/notification-spec/
+ pkgrel = 5
+ url = https://developer.gnome.org/notification-spec/
arch = x86_64
license = LGPL
makedepends = gcc-multilib
+ makedepends = git
+ makedepends = gnome-common
makedepends = gobject-introspection
makedepends = lib32-gtk3
depends = libnotify
depends = lib32-gdk-pixbuf2
- options = !libtool
- source = http://ftp.gnome.org/pub/GNOME/sources/libnotify/0.7/libnotify-0.7.6.tar.xz
- sha512sums = 5d656ee7ee5caeb95aec4adb973795dc72fc620cd36b9fe3d4f910951945bd5df70ee1c422cd6aca9c38a9ba2760562e479fc8fb9269449924a5b24d762d03df
+ source = git://git.gnome.org/libnotify#commit=2f2c5649ef210b1dffeb46cddf062d20e1518ccf
+ sha512sums = SKIP
pkgname = lib32-libnotify
diff --git a/PKGBUILD b/PKGBUILD
index d699f5e5bd4..90881b8706f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,16 +5,21 @@
pkgname=lib32-libnotify
pkgver=0.7.6
-pkgrel=4
-pkgdesc="Desktop notification library (32-bit)"
+pkgrel=5
+pkgdesc="Library for sending desktop notifications (32-bit)"
arch=('x86_64')
-url="http://library.gnome.org/devel/notification-spec/"
+url="https://developer.gnome.org/notification-spec/"
license=('LGPL')
depends=("${pkgname#lib32-}" 'lib32-gdk-pixbuf2')
-makedepends=('gcc-multilib' 'gobject-introspection' 'lib32-gtk3')
-options=('!libtool')
-source=("http://ftp.gnome.org/pub/GNOME/sources/${pkgname#lib32-}/0.7/${pkgname#lib32-}-${pkgver}.tar.xz")
-sha512sums=('5d656ee7ee5caeb95aec4adb973795dc72fc620cd36b9fe3d4f910951945bd5df70ee1c422cd6aca9c38a9ba2760562e479fc8fb9269449924a5b24d762d03df')
+makedepends=('gcc-multilib' 'git' 'gnome-common' 'gobject-introspection' 'lib32-gtk3')
+_commit=2f2c5649ef210b1dffeb46cddf062d20e1518ccf
+source=("git://git.gnome.org/libnotify#commit=$_commit")
+sha512sums=('SKIP')
+
+prepare() {
+ cd ${pkgname#lib32-}
+ NOCONFIGURE=1 ./autogen.sh
+}
build() {
# Modify environment to generate 32-bit ELF. Respects flags defined in makepkg.conf
@@ -24,12 +29,12 @@ build() {
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
# export PKG_CONFIG_LIBDIR='/usr/lib32/pkgconfig'
- cd "${pkgname#lib32-}-${pkgver}"
+ cd ${pkgname#lib32-}
./configure --build=i686-pc-linux-gnu --prefix=/usr --disable-static --libdir=/usr/lib32
make
}
package() {
- make -C "${pkgname#lib32-}-${pkgver}" DESTDIR="${pkgdir}" install
+ make -C "${pkgname#lib32-}" DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}/usr/"{bin,include,share}
}