summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 36f05beea2909fe9391a1212a0c57262c9b26c56 (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
26
27
28
29
30
31
32
33
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>

pkgname=lizard
pkgver=1.0
pkgrel=2
pkgdesc="An efficient compressor with very fast decompression"
arch=('i686' 'x86_64')
url="https://github.com/inikep/lizard"
license=('GPL2' 'BSD')
depends=('glibc')
options=('staticlibs')
source=("$pkgname-$pkgver-src.tar.gz::https://github.com/inikep/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=('6f666ed699fc15dc7fdaabfaa55787b40ac251681b50c0d8df017c671a9457e6')


build() {
  cd "$pkgname-$pkgver"

  make
}

check() {
  cd "$pkgname-$pkgver"

  #make test
}

package() {
  cd "$pkgname-$pkgver"

  make DESTDIR="$pkgdir" PREFIX="/usr" install
  install -Dm644 "lib/LICENSE" "$pkgdir/usr/share/licenses/lizard/LICENSE"
}