community/gifsicle: add check

This commit is contained in:
Roberto Oliveira 2018-01-15 00:21:22 +00:00
parent c3f9e93560
commit 58f6ef8874

View File

@ -2,16 +2,17 @@
# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
pkgname=gifsicle
pkgver=1.91
pkgrel=0
pkgdesc="Command-line tool for making, editing, and getting information about GIF animations"
pkgrel=1
pkgdesc="Command-line tool for making, editing and getting information about GIF animations"
url="http://www.lcdf.org/gifsicle/"
arch="all"
license="GPL-2.0"
makedepends="libx11-dev libice-dev libsm-dev"
checkdepends="perl"
subpackages="$pkgname-doc"
source="http://www.lcdf.org/gifsicle/gifsicle-$pkgver.tar.gz"
builddir="$srcdir"/gifsicle-$pkgver
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
@ -26,6 +27,11 @@ build() {
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install