summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLlewelyn Trahaearn2015-07-16 04:35:14 -0700
committerLlewelyn Trahaearn2015-07-16 04:35:14 -0700
commitc08fae4f3f4baf779abeac354a9fb0f23ec0aa6d (patch)
treeb741b32cd18e2c6cb32a55f4834721fe43109f97
parent00c9a6d5e9424f2f8a3562f9d5fd08cec04287c4 (diff)
downloadaur-c08fae4f3f4baf779abeac354a9fb0f23ec0aa6d.tar.gz
Package tuning.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD14
2 files changed, 9 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f270baa4dd5..fa8b99334a5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = lib32-libnotify
pkgdesc = Desktop notification library (32-bit)
pkgver = 0.7.6
- pkgrel = 2
+ pkgrel = 3
url = http://library.gnome.org/devel/notification-spec/
arch = x86_64
license = LGPL
diff --git a/PKGBUILD b/PKGBUILD
index de31c840d14..05da51401d3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,10 +2,11 @@
# Contributor: josephgbr <rafael.f.f1 at gmail dot com>
# Contributor: TryA <tryagainprod at gmail dot com>
# Contributor: Jan de Groot <jgc at archlinux dot org>
+
_pkgbase=libnotify
pkgname=lib32-${_pkgbase}
pkgver=0.7.6
-pkgrel=2
+pkgrel=3
pkgdesc="Desktop notification library (32-bit)"
arch=('x86_64')
url="http://library.gnome.org/devel/notification-spec/"
@@ -17,15 +18,16 @@ source=("http://ftp.gnome.org/pub/GNOME/sources/${_pkgbase}/0.7/${_pkgbase}-${pk
sha512sums=('5d656ee7ee5caeb95aec4adb973795dc72fc620cd36b9fe3d4f910951945bd5df70ee1c422cd6aca9c38a9ba2760562e479fc8fb9269449924a5b24d762d03df')
build() {
- export CC="gcc -m32"
- export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-
cd "${srcdir}/${_pkgbase}-${pkgver}"
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+ export LDFLAGS='-m32'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
./configure --prefix=/usr --disable-static --libdir=/usr/lib32
make
}
package() {
- make -C ${srcdir}/${_pkgbase}-${pkgver} DESTDIR="${pkgdir}" install
- rm -rf "${pkgdir}"/usr/{bin,include,share}
+ make -C "${srcdir}/${_pkgbase}-${pkgver}" DESTDIR="${pkgdir}" install
+ rm -rf "${pkgdir}/usr/"{bin,include,share}
}