#Packager: Maximus (maximuus[at]gmail[dot]com) pkgname=libgexiv2 pkgver=0.3.0 pkgrel=1mb source=(http://yorba.org/download/gexiv2/0.3/libgexiv2-0.3.0.tar.bz2) sourcetemplate=http://people.salixos.org/maximus/$pkgname/$pkgver/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://trac.yorba.org/wiki/gexiv2 slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "libgexiv2 (a GObject-based wrapper around the Exiv2 library)" "gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes" "the basic features of Exiv2 available to GNOME applications." ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --release #configure doesn't accept libdirsuffix so let's state it explicitly if [ "$arch" = "x86_64" ]; then sed -i -e "s|LIB=lib|LIB=lib64|" $startdir/src/$pkgname-$pkgver/Makefile; fi || exit 1 make || return 1 make install DESTDIR=$startdir/pkg }