summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLlewelyn Trahaearn2015-07-19 14:10:10 -0700
committerLlewelyn Trahaearn2015-07-19 14:10:10 -0700
commit4681c25b6b159951f84a81ed277389ce3e894a9c (patch)
treefffb507ff566fefb01f3051196de3cc09069fe24
parentc08fae4f3f4baf779abeac354a9fb0f23ec0aa6d (diff)
downloadaur-4681c25b6b159951f84a81ed277389ce3e894a9c.tar.gz
Code tightening.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD13
2 files changed, 7 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fa8b99334a5..055dc036514 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = lib32-libnotify
pkgdesc = Desktop notification library (32-bit)
pkgver = 0.7.6
- pkgrel = 3
+ pkgrel = 4
url = http://library.gnome.org/devel/notification-spec/
arch = x86_64
license = LGPL
diff --git a/PKGBUILD b/PKGBUILD
index 05da51401d3..60f99218d7f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,22 +3,21 @@
# Contributor: TryA <tryagainprod at gmail dot com>
# Contributor: Jan de Groot <jgc at archlinux dot org>
-_pkgbase=libnotify
-pkgname=lib32-${_pkgbase}
+pkgname=lib32-libnotify
pkgver=0.7.6
-pkgrel=3
+pkgrel=4
pkgdesc="Desktop notification library (32-bit)"
arch=('x86_64')
url="http://library.gnome.org/devel/notification-spec/"
license=('LGPL')
-depends=('lib32-gdk-pixbuf2' "${_pkgbase}")
+depends=('lib32-gdk-pixbuf2' "${pkgname#lib32-}")
makedepends=('lib32-gtk3' 'gcc-multilib' 'gobject-introspection')
options=('!libtool')
-source=("http://ftp.gnome.org/pub/GNOME/sources/${_pkgbase}/0.7/${_pkgbase}-${pkgver}.tar.xz")
+source=("http://ftp.gnome.org/pub/GNOME/sources/${pkgname#lib32-}/0.7/${pkgname#lib32-}-${pkgver}.tar.xz")
sha512sums=('5d656ee7ee5caeb95aec4adb973795dc72fc620cd36b9fe3d4f910951945bd5df70ee1c422cd6aca9c38a9ba2760562e479fc8fb9269449924a5b24d762d03df')
build() {
- cd "${srcdir}/${_pkgbase}-${pkgver}"
+ cd "${srcdir}/${pkgname#lib32-}-${pkgver}"
export CC='gcc -m32'
export CXX='g++ -m32'
export LDFLAGS='-m32'
@@ -28,6 +27,6 @@ build() {
}
package() {
- make -C "${srcdir}/${_pkgbase}-${pkgver}" DESTDIR="${pkgdir}" install
+ make -C "${srcdir}/${pkgname#lib32-}-${pkgver}" DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}/usr/"{bin,include,share}
}