updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / lib32-libgtop / PKGBUILD
blob71d374fa96c328b45bcead5bc080cdf6640d0832
1 # Maintainer: TryA <tryagainprod {at} gmail.com>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 _pkgbasename=libgtop
5 pkgname=lib32-libgtop
6 pkgver=2.28.2
7 pkgrel=1
8 pkgdesc="A library that read information about processes and the running system (32-bit)"
9 arch=('x86_64')
10 license=('LGPL')
11 depends=('lib32-glib2>=2.24' 'lib32-libxau' 'texinfo')
12 makedepends=('intltool' 'gcc-multilib')
13 source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgbasename}/2.28/${_pkgbasename}-${pkgver}.tar.bz2)
14 options=('!libtool')
15 url="http://www.gnome.org/"
16 sha256sums=('49958d7da1f76b257bfd0d557d8ed2b218a5ab0d31b59fed1c32ddf2a1529f5d')
18 build() {
19   export CC="gcc -m32"
20   export CXX="g++ -m32"
21   export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
23   cd "${srcdir}/${_pkgbasename}-${pkgver}"
24   ./configure --prefix=/usr --sysconfdir=/etc \
25       --localstatedir=/var --disable-static \
26       --with-libgtop-smp --libdir=/usr/lib32
27   make
30 package() {
31   cd "${srcdir}/${_pkgbasename}-${pkgver}"
32   make DESTDIR="${pkgdir}" install
33   rm -rf ${pkgdir}/usr/{include,share}