updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / lib32-libexif / PKGBUILD
blobfeb97b91fc76b03817b655dc0ca2aa68558279f1
1 _pkgbasename=libexif
2 pkgname=lib32-$_pkgbasename
3 pkgver=0.6.20
4 pkgrel=1
5 pkgdesc="A library to parse an EXIF file and read the data from those tags (32 bit)"
6 arch=('x86_64')
7 license=('LGPL')
8 url="http://sourceforge.net/projects/libexif"
9 depends=('lib32-glibc' "$_pkgbasename")
10 makedepends=('gcc-multilib')
11 options=('!libtool')
12 source=(http://downloads.sf.net/sourceforge/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.bz2)
13 md5sums=('19844ce6b5d075af16f0d45de1e8a6a3')
15 build() {
16   cd "${srcdir}/${_pkgbasename}-${pkgver}"
17   ./configure --prefix=/usr --libdir=/usr/lib32 CC='gcc -m32'
18   make
21 package() {
22   cd "${srcdir}/${_pkgbasename}-${pkgver}"
23   make DESTDIR="${pkgdir}" install
24   # Cleanup for a lib32 package
25   rm -rf ${pkgdir}/usr/{include,share,lib32/*.a}
26   # Install license
27   install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING