aboutsummaryrefslogtreecommitdiffstats
path: root/community/gifsicle/APKBUILD
blob: 8296204ad1f336cb369aab098c840eb1dc84d82b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Isaac Dunham <ibid.ag@gmail.com>
# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
pkgname=gifsicle
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"
makedepends="libx11-dev libice-dev libsm-dev"
subpackages="$pkgname-doc"
source="http://www.lcdf.org/gifsicle/gifsicle-$pkgver.tar.gz"

builddir="$srcdir"/gifsicle-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="517a82b7553ce2860894828fd3961368d5275119fc282d0f7a73ce2d07795c91a4bf440c4633c5d4bd66ea695ee8cc873c844c499167e286ad09cd7a830e804e  gifsicle-1.89.tar.gz"