summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8712308f91e7320bf5836b59f1cb38c06f1c75d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: grimi <grimi at poczta dot fm>
# Maintainer: josephgbr <rafael.f.f1@gmail.com>

_pkgbase=gtk-engines
pkgname=lib32-$_pkgbase
pkgver=2.21.0
pkgrel=3
pkgdesc="Theme engines for GTK+ 2 (32 bit)"
arch=('x86_64')
url="http://live.gnome.org/GnomeArt"
license=('LGPL')
depends=('lib32-gtk2' "$_pkgbase")
makedepends=('intltool' 'gcc-multilib')
options=('!libtool')
source=(https://sources.archlinux.org/other/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz)
md5sums=('d82ae66d6eb045d83c30b78b13818d41')

build() {
  export CC='gcc -m32'
  export CXX='g++ -m32'
  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'

  cd $_pkgbase-$pkgver
  ./configure --prefix=/usr --enable-animation --libdir=/usr/lib32
  make
}

package() {
  cd $_pkgbase-$pkgver
  make DESTDIR="$pkgdir" install
  rm -rf "$pkgdir"/usr/share
}