23 lines
536 B
Text
23 lines
536 B
Text
|
# Maintainer: Daryl Ronningen <relms@relms.dev>
|
||
|
|
||
|
pkgname=lz4
|
||
|
pkgver=1.9.4
|
||
|
pkgrel=1
|
||
|
pkgdesc="Extremely fast compression algorithm"
|
||
|
arch=("x86_64")
|
||
|
url="https://lz4.github.io/lz4/"
|
||
|
license=("GPL2")
|
||
|
source=("https://github.com/lz4/lz4/releases/download/v$pkgver/lz4-$pkgver.tar.gz")
|
||
|
sha256sums=("0b0e3aa07c8c063ddf40b082bdf7e37a1562bda40a0ff5272957f3e987e0e54b")
|
||
|
|
||
|
build() {
|
||
|
cd $pkgname-$pkgver
|
||
|
make -C lib PREFIX=/usr
|
||
|
make -C programs PREFIX=/usr lz4 lz4c
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd $pkgname-$pkgver
|
||
|
make install PREFIX=/usr DESTDIR=$pkgdir
|
||
|
}
|