updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / lib32-libnotify / PKGBUILD
blobd7df5c4ff04932d17c24bc5175fa1b63d44110ac
1 # Contributor: TryA <tryagainprod@gmail.com>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 _pkgbasename=libnotify
5 pkgname=lib32-$_pkgbasename
6 pkgver=0.7.4
7 pkgrel=1
8 pkgdesc="Desktop notification library (32-bit)"
9 arch=('x86_64')
10 url="http://library.gnome.org/devel/notification-spec/"
11 license=('LGPL')
12 depends=('lib32-gdk-pixbuf2' 'libnotify')
13 makedepends=('lib32-gtk3' 'gcc-multilib')
14 options=('!libtool')
15 source=(http://ftp.gnome.org/pub/GNOME/sources/${_pkgbasename}/${pkgver%.*}/${_pkgbasename}-${pkgver}.tar.bz2)
16 sha256sums=('fd204a6491d826174863f16e289a2069504d9ca109e4acd7ba88cd42869b9fc6')
18 build() {
19   export CC="gcc -m32"
20   export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
21   
22   cd "${srcdir}/${_pkgbasename}-${pkgver}"
23   ./configure --prefix=/usr --libdir=/usr/lib32 --disable-static --enable-introspection=no
24   make
27 package() {
28   cd "${srcdir}/${_pkgbasename}-${pkgver}"
29   make DESTDIR="${pkgdir}" install
30   rm -rf "${pkgdir}"/usr/{bin,include,share}