summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c0ade04e273b6da40a7b9bf4a7e56c1c6dda8c4f (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
# Maintainer: Steffen Weber <-boenki-gmx-de->

pkgname=lepton
pkgver=1.2.1
pkgrel=1
pkgdesc="Tool and file format for losslessly compressing JPEGs"
arch=('i686' 'x86_64')
url="https://github.com/dropbox/lepton"
license=('APACHE')
makedepends=('cmake' 'zlib' 'openssl')
source=($pkgname-$pkgver::$url/archive/$pkgver.tar.gz)
md5sums=('79fad1d65eb68efed0222b1db4916429')

build() {
  cd $pkgname-$pkgver
  mkdir -p build
  cd build
  cmake -DCMAKE_BUILD_TYPE=release -DUSE_SYSTEM_DEPENDENCIES=ON -DCMAKE_INSTALL_PREFIX="/usr" ..
  make
}

package() {
  cd $pkgname-$pkgver/build
  make DESTDIR="$pkgdir" install
}