mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
community/gifsicle: add check
This commit is contained in:
parent
c3f9e93560
commit
58f6ef8874
@ -2,16 +2,17 @@
|
|||||||
# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
|
# Maintainer: Isaac Dunham <ibid.ag@gmail.com>
|
||||||
pkgname=gifsicle
|
pkgname=gifsicle
|
||||||
pkgver=1.91
|
pkgver=1.91
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="Command-line tool for making, editing, and getting information about GIF animations"
|
pkgdesc="Command-line tool for making, editing and getting information about GIF animations"
|
||||||
url="http://www.lcdf.org/gifsicle/"
|
url="http://www.lcdf.org/gifsicle/"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="GPL-2.0"
|
license="GPL-2.0"
|
||||||
makedepends="libx11-dev libice-dev libsm-dev"
|
makedepends="libx11-dev libice-dev libsm-dev"
|
||||||
|
checkdepends="perl"
|
||||||
subpackages="$pkgname-doc"
|
subpackages="$pkgname-doc"
|
||||||
source="http://www.lcdf.org/gifsicle/gifsicle-$pkgver.tar.gz"
|
source="http://www.lcdf.org/gifsicle/gifsicle-$pkgver.tar.gz"
|
||||||
|
|
||||||
builddir="$srcdir"/gifsicle-$pkgver
|
builddir="$srcdir/$pkgname-$pkgver"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
@ -26,6 +27,11 @@ build() {
|
|||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd "$builddir"
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
make DESTDIR="$pkgdir" install
|
make DESTDIR="$pkgdir" install
|
||||||
|
Loading…
Reference in New Issue
Block a user