aboutsummaryrefslogtreecommitdiffstats
path: root/community/gifsicle
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-07-13 14:10:11 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-07-13 23:29:36 +0000
commit4351cd689184eaf8ec239fc67a4b609cfeffdc67 (patch)
tree27cd2344ebea4867d1d515ec4ff147ca35560e9b /community/gifsicle
parent8157b47d7ae277f640a1ad45d977d44d25667181 (diff)
downloadaports-4351cd689184eaf8ec239fc67a4b609cfeffdc67.tar.bz2
aports-4351cd689184eaf8ec239fc67a4b609cfeffdc67.tar.xz
community/gifsicle: upgrade to 1.89 and modernize APKBUILD
Diffstat (limited to 'community/gifsicle')
-rw-r--r--community/gifsicle/APKBUILD30
1 files changed, 8 insertions, 22 deletions
diff --git a/community/gifsicle/APKBUILD b/community/gifsicle/APKBUILD
index 516b544163..8296204ad1 100644
--- a/community/gifsicle/APKBUILD
+++ b/community/gifsicle/APKBUILD
@@ -1,31 +1,20 @@
# Contributor: Isaac Dunham <ibid.ag@gmail.com>
# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
pkgname=gifsicle
-pkgver=1.88
+pkgver=1.89
pkgrel=0
pkgdesc="Command-line tool for making, editing, and getting information about GIF animations"
url="http://www.lcdf.org/gifsicle/"
arch="all"
license="GPL2"
-depends=""
makedepends="libx11-dev libice-dev libsm-dev"
-install=""
subpackages="$pkgname-doc"
source="http://www.lcdf.org/gifsicle/gifsicle-$pkgver.tar.gz"
-_builddir="$srcdir"/gifsicle-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/gifsicle-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -33,16 +22,13 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --localstatedir=/var \
- || return 1
- make || return 1
+ --localstatedir=/var
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-md5sums="6b1cfb10c35b01ad877f2ae18cca4221 gifsicle-1.88.tar.gz"
-sha256sums="4585d2e683d7f68eb8fcb15504732d71d7ede48ab5963e61915201f9e68305be gifsicle-1.88.tar.gz"
-sha512sums="4a54557d2a9acb4601151f7a266156ebd317bddb1255d84df042a62be0f57bd75ad8585794bd82081701977c84781696bb06565a3aa1709e0ef04ab89fb2df91 gifsicle-1.88.tar.gz"
+sha512sums="517a82b7553ce2860894828fd3961368d5275119fc282d0f7a73ce2d07795c91a4bf440c4633c5d4bd66ea695ee8cc873c844c499167e286ad09cd7a830e804e gifsicle-1.89.tar.gz"