desktop/lrzip/PKGBUILD

29 lines
598 B
Bash
Raw Normal View History

2016-03-30 02:20:21 +08:00
pkgname=lrzip
pkgver=0.621
pkgrel=1
pkgdesc='Multi-threaded compression using the rzip/lzma, lzo, and zpaq algorithms'
url='http://lrzip.kolivas.org/'
license=('GPL')
arch=('x86_64')
depends=('lzo2' 'zlib')
source=("http://ck.kolivas.org/apps/$pkgname/$pkgname-$pkgver.tar.bz2")
sha256sums=('31c26fbee8b9b0bd413ca214862dbc0d9e6d3477f23e9839774936bf140ceb6b')
build() {
cd "$pkgname-$pkgver"
./autogen.sh --prefix=/usr
make -j `nproc` # maxes out all cores
}
check() {
make -C "$pkgname-$pkgver" -k check
}
package() {
make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install-strip
}