PKGBUILDs/extra/imlib2/PKGBUILD

24 lines
845 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
pkgname=imlib2
pkgver=1.4.2
pkgrel=1
pkgdesc="Library that does image file loading and saving as well as rendering, manipulation, arbitrary polygon support"
url="http://sourceforge.net/projects/enlightenment/"
arch=(arm)
license=('BSD')
depends=('libtiff>=3.8.2' 'giflib' 'bzip2' 'freetype2' 'libxext' 'libpng' 'libid3tag' 'libjpeg')
options=('!libtool')
source=("http://downloads.sourceforge.net/enlightenment/$pkgname-$pkgver.tar.bz2")
md5sums=('9f15568e76ebda9092c571e0df261f54')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr \
--sysconfdir=/etc/imlib2 \
--x-libraries=/usr/lib $EXTRAOPTS || return 1
make || return 1
make DESTDIR=$pkgdir install || return 1
install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
}