Commit 7683d662 authored by Aji Kisworo Mukti's avatar Aji Kisworo Mukti Committed by Natanael Copa

testing/jpegoptim: new aport

parent 5620eba1
# 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="libjpeg-turbo"
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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment