summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b58e37481e388878e3c4d77abdb2cee0bdbec1a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: jose1711 <jose1711 at gmail at com>

pkgname=jpegtran_crop
pkgver=9e
pkgrel=1
pkgdesc="Stable jpegtran version with the lossless crop and scale feature"
arch=('i686' 'x86_64')
url="http://sylvana.net/jpegcrop/jpegtran/"
license=('other')
source=("jpegtran_crop_$pkgver.tar.gz::http://sylvana.net/jpegcrop/jpegcrop.tar.gz")
md5sums=('a3973a555dd0148db130d8b84c9b974b')
conflicts=('jpegtran_crop_bin' 'libjpeg-turbo')

build() {
  cd ${srcdir}/jpegcrop/jpeg-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd ${srcdir}/jpegcrop/jpeg-${pkgver}
  make DESTDIR=${pkgdir} install
}