diff options
Diffstat (limited to 'testing/jpegoptim/APKBUILD')
-rw-r--r-- | testing/jpegoptim/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/jpegoptim/APKBUILD b/testing/jpegoptim/APKBUILD new file mode 100644 index 0000000000..3445cd7ad2 --- /dev/null +++ b/testing/jpegoptim/APKBUILD @@ -0,0 +1,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="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" |