blob: db5f887b4597c38591400cc3f6ad45dbfbd7c538 (
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
35
36
37
|
# Maintainer: Daniel Bermond <dbermond@archlinux.org>
pkgname=gifsicle-git
pkgver=1.93.r0.g416518e
pkgrel=1
pkgdesc='Command-line tool for creating, editing, and getting information about GIF images and animations (git version)'
arch=('x86_64')
url='https://www.lcdf.org/gifsicle/'
license=('GPL2')
optdepends=('libx11: for gifview tool')
makedepends=('git' 'libx11')
provides=('gifsicle')
conflicts=('gifsicle')
source=('git+https://github.com/kohler/gifsicle.git')
sha256sums=('SKIP')
prepare() {
autoreconf -fi gifsicle
}
pkgver() {
git -C gifsicle describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
}
build() {
cd gifsicle
./configure --prefix='/usr'
make
}
check() {
gifsicle/test/testie -p gifsicle/src gifsicle/test
}
package() {
make -C gifsicle DESTDIR="$pkgdir" install
}
|