blob: 06aaa889172544dcf65e64fe078c2dca1949a531 (
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: a821 at (nospam) mail de
# Contributor: brent s. <bts[at]square-r00t[dot]net>
pkgname=lrzip-git
pkgver=0.651.r12.g15f5621
pkgrel=1
pkgdesc="Multi-threaded compression with rzip/lzma, lzo, and zpaq"
arch=( 'x86_64' )
url="https://github.com/ckolivas/lrzip"
license=('GPL-2.0-or-later')
depends=('bash' 'bzip2' 'lz4' 'lzo' 'zlib')
makedepends=('git' 'perl')
conflicts=( 'lrzip' )
provides=( 'lrzip' )
_pkgname=lrzip
source=("git+$url.git")
sha512sums=('SKIP')
pkgver() {
cd "${_pkgname}"
git describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./g'
}
build() {
cd "${_pkgname}"
CFLAGS="${CFLAGS} -fomit-frame-pointer"
CXXFLAGS="${CXXFLAGS} -fomit-frame-pointer"
./autogen.sh --prefix=/usr --disable-doc
make
}
check() {
make -C "${_pkgname}" -k check
}
package() {
make -C "${_pkgname}" DESTDIR="${pkgdir}" install-strip
}
|