diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/lz4/APKBUILD | 38 |
1 files changed, 11 insertions, 27 deletions
diff --git a/main/lz4/APKBUILD b/main/lz4/APKBUILD index bad9e7e89d..140facfbe4 100644 --- a/main/lz4/APKBUILD +++ b/main/lz4/APKBUILD @@ -1,40 +1,24 @@ # Contributor: Stuart Cardall <developer@it-offshore.co.uk> # Maintainer: Stuart Cardall <developer@it-offshore.co.uk> pkgname=lz4 -pkgver=131 -_pkgver=r${pkgver} +pkgver=1.7.5 pkgrel=0 pkgdesc="LZ4 is lossless compression algorithm with fast decoder @ multiple GB/s per core." -url="http://www.lz4.info" +url="https://github.com/lz4/lz4" arch="all" -license="BSD / GPLv2" -depends_dev="" -makedepends="$depends_dev" -subpackages="$pkgname-dev $pkgname-doc" -source="$pkgname-$_pkgver.tar.gz::https://github.com/Cyan4973/lz4/archive/$_pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$_pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +license="BSD" +subpackages="$pkgname-dev $pkgname-doc $pkgname-libs" +source="$pkgname-$pkgver.tar.gz::https://github.com/lz4/lz4/archive/v$pkgver.tar.gz" +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" - export PREFIX="/usr" - make || return 1 + cd "$builddir" + make PREFIX="/usr" || return 1 } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make PREFIX="/usr" DESTDIR="$pkgdir" install || return 1 } -md5sums="42b09fab42331da9d3fb33bd5c560de9 lz4-r131.tar.gz" -sha256sums="9d4d00614d6b9dec3114b33d1224b6262b99ace24434c53487a0c8fd0b18cfed lz4-r131.tar.gz" -sha512sums="60bd95d529691ffee2c43f0d8a62484c3cff74c0154094f073192606806ac8182dced61e0534ffa7e0ccf5f18e9a8cfd2738883a83814c0711a6d7f1d1b252e5 lz4-r131.tar.gz" +sha512sums="b4e5b17fe06805e676608e636a45f0b480b79a02c6b7ffce84dc4d607861cb2652b2852493ab9d9249e7caeae6f00b6834801fdc39f58d901cbc1c7347915295 lz4-1.7.5.tar.gz" |