summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 08bb1ced1ad6350f58a0ece206d4cd0049f60156 (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
34
35
36
37
38
39
40
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>

pkgname=lz4-git
pkgver=1.7.4.2.r221.g89b9f02
pkgrel=1
pkgdesc="Extremely Fast Compression algorithm"
arch=('i686' 'x86_64')
url="https://lz4.github.io/lz4/"
license=('GPL2')
depends=('glibc')
makedepends=('git')
provides=('lz4')
conflicts=('lz4')
source=("git+https://github.com/lz4/lz4.git")
sha256sums=('SKIP')


pkgver() {
  cd "lz4"

  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "lz4"

  make
}

check() {
  cd "lz4"

  #make test
}

package() {
  cd "lz4"

  make PREFIX="/usr" DESTDIR="$pkgdir" install
}