blob: ec3356ec664b2f43119fe40983a790244b4da5c1 (
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
|
# Contributor: Aji Kisworo Mukti <aji.kisworo.mukti@gmail.com>
# Maintainer: Aji Kisworo Mukti <aji.kisworo.mukti@gmail.com>
pkgname=jpegoptim
pkgver=1.4.3
pkgrel=0
pkgdesc="Utility to optimize jpeg files"
url="https://github.com/tjko/jpegoptim"
arch="all"
license="GPL2"
depends=""
makedepends="libjpeg-turbo-dev"
install=""
subpackages="$pkgname-doc"
source="https://github.com/tjko/jpegoptim/archive/RELEASE.$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-RELEASE.$pkgver
build() {
cd "$builddir"
./configure \
--prefix=/usr/ \
--mandir=/usr/share/man/ \
|| return 1
make || return 1
make strip || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
return 0
}
md5sums="5a355ff79b8eba14545fe96e3acb2f4c RELEASE.1.4.3.tar.gz"
sha256sums="f892f5917c8dd8259d319df204e4bc13806b90389041ca7a4a24d8a5c25c7013 RELEASE.1.4.3.tar.gz"
sha512sums="55a2b9842aa62fbe89557490112fe7b9e78265db12d6a46c0f4facdb88eb53b0f8da3480defd31977070c0e879034f8b5061d51177ca9345f04221abbc7ecd13 RELEASE.1.4.3.tar.gz"
|