aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-05-14 13:52:41 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-09 13:14:23 +0000
commit2a9cf9243b74b00d7428a4a8f71f7ab95a3fc3cd (patch)
tree5424a8a09965f6ebae478acd307a9186edadb368
parent5731e2dde4119947605b840093bc4257a49893fa (diff)
downloadaports-2a9cf9243b74b00d7428a4a8f71f7ab95a3fc3cd.tar.gz
aports-2a9cf9243b74b00d7428a4a8f71f7ab95a3fc3cd.tar.bz2
aports-2a9cf9243b74b00d7428a4a8f71f7ab95a3fc3cd.tar.xz
main/imlib2: upgrade to 1.4.10 and modernize abuild
-rw-r--r--main/imlib2/APKBUILD34
1 files changed, 11 insertions, 23 deletions
diff --git a/main/imlib2/APKBUILD b/main/imlib2/APKBUILD
index ff7c97516c..7a5f99f4db 100644
--- a/main/imlib2/APKBUILD
+++ b/main/imlib2/APKBUILD
@@ -1,31 +1,21 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=imlib2
-pkgver=1.4.9
+pkgver=1.4.10
pkgrel=0
pkgdesc="Library that does image file loading and saving as well as rendering, manipulation, arbitrary polygon support"
url="http://sourceforge.net/projects/enlightenment/"
arch="all"
license="BSD"
subpackages="$pkgname-dev $pkgname-doc"
-depends=
+depends=""
depends_dev="freetype-dev libxext-dev libsm-dev"
makedepends="$depends_dev tiff-dev giflib-dev bzip2-dev
libpng-dev libid3tag-dev libjpeg-turbo-dev zlib-dev util-linux-dev"
-source="http://downloads.sourceforge.net/enlightenment/$pkgname-$pkgver.tar.bz2
- "
-
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+source="http://downloads.sourceforge.net/enlightenment/$pkgname-$pkgver.tar.bz2"
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -33,16 +23,14 @@ build() {
--sysconfdir=/etc/imlib2 \
--x-libraries=/usr/lib \
--disable-mmx \
- --disable-amd64 \
- || return 1
- make || return 1
+ --disable-amd64
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR=$pkgdir install || return 1
+ cd "$builddir"
+ make DESTDIR=$pkgdir install
install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
}
-md5sums="23ef8b49f2793bc63b16839a2062298b imlib2-1.4.9.tar.bz2"
-sha256sums="7d2864972801823ce44ca8d5584a67a88f0e54e2bf47fa8cf4a514317b4f0021 imlib2-1.4.9.tar.bz2"
-sha512sums="741c002e5920425a4df57fc96a02c70d276ecc810fadd1fdc5a997df88efb00a24802b56301faa8c62836f0a4486c610a200ec5ca482ac8d07d228612d72e0f4 imlib2-1.4.9.tar.bz2"
+
+sha512sums="5bad7d2100b1706a3f7eed5fedd12afdb643c647823472b515dac3753ff5293d0fae08be7f06ad16e63968e548c9e82ab5e6d7a938e5359903f57be24cd2a07b imlib2-1.4.10.tar.bz2"