mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
29 lines
598 B
Bash
29 lines
598 B
Bash
|
|
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
|
|
}
|
|
|