2015-03-06 02:57:41 +08:00
|
|
|
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/imlib2
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
pkgname=imlib2
|
2016-05-21 14:53:56 +08:00
|
|
|
pkgver=1.4.9
|
2015-03-06 02:57:41 +08:00
|
|
|
pkgrel=1
|
2010-03-14 23:48:48 +08:00
|
|
|
pkgdesc="Library that does image file loading and saving as well as rendering, manipulation, arbitrary polygon support"
|
|
|
|
url="http://sourceforge.net/projects/enlightenment/"
|
2012-11-01 07:08:10 +08:00
|
|
|
arch=('x86_64')
|
2010-03-14 23:48:48 +08:00
|
|
|
license=('BSD')
|
2012-11-01 07:08:10 +08:00
|
|
|
depends=('libtiff' 'giflib' 'bzip2' 'freetype2' 'libxext' 'libpng>=1.5.0' 'libid3tag' 'libjpeg-turbo')
|
2016-01-20 04:09:53 +08:00
|
|
|
source=("http://downloads.sourceforge.net/enlightenment/$pkgname-$pkgver.tar.bz2")
|
2016-05-21 14:53:56 +08:00
|
|
|
sha1sums=('f389d67c337b604a365e620b0083b2d342dd724e')
|
2015-03-06 02:57:41 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
sed -i 's/@my_libs@//' imlib2-config.in
|
|
|
|
}
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
build() {
|
2012-08-29 15:31:09 +08:00
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
2010-03-14 23:48:48 +08:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--sysconfdir=/etc/imlib2 \
|
2016-01-20 04:09:53 +08:00
|
|
|
--x-libraries=/usr/lib \
|
|
|
|
--enable-amd64
|
2012-08-29 15:31:09 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
make DESTDIR="$pkgdir" install
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
# Install License
|
2012-08-29 15:31:09 +08:00
|
|
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
|
2010-03-14 23:48:48 +08:00
|
|
|
}
|