# Contributor: Aji Kisworo Mukti <aji.kisworo.mukti@gmail.com> # Maintainer: Aji Kisworo Mukti <aji.kisworo.mukti@gmail.com> setvar pkgname = 'jpegoptim' setvar pkgver = '1.4.4' setvar pkgrel = '0' setvar pkgdesc = ""Utility to optimize jpeg files"" setvar url = ""https://github.com/tjko/jpegoptim"" setvar arch = ""all"" setvar license = ""GPL2"" setvar depends = """" setvar makedepends = ""libjpeg-turbo-dev"" setvar options = ""!check"" setvar subpackages = ""$pkgname-doc"" setvar source = ""https://github.com/tjko/jpegoptim/archive/RELEASE.$pkgver.tar.gz"" setvar builddir = ""$srcdir"/$pkgname-RELEASE.$pkgver" proc prepare { cd $builddir default_prepare update_config_sub } proc build { cd $builddir ./configure \ --build=$CBUILD \ --host=$CHOST \ --target=$CTARGET \ --prefix=/usr/ \ --mandir=/usr/share/man/ \ || return 1 make || return 1 make strip || return 1 } proc package { cd $builddir make DESTDIR="$pkgdir" install || return 1 return 0 } setvar sha512sums = ""4152dcbf703737228187326f831610006852717260d7e3908275b6a54f5f02ef786a4560ff7485cc0326d38312e2b499ea83749c849736b9cd069884b882a27c RELEASE.1.4.4.tar.gz""