summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cc6cfb66b9ac3c74f86455e49b3ddb8488e037f4 (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
# Maintainer: Cassandra Watergate (saltedcoffii) <cassandrawatergate@outlook.com>
# Contributer: Peter Mayr <petermayr@ymail.com>

pkgname=lunzip
pkgver=1.13
pkgrel=1
pkgdesc="Lunzip is a decompressor for the lzip format written in C."
url="https://www.nongnu.org/lzip/lunzip.html"
arch=('x86_64' 'i686')
license=('GPL')
source=(
    "https://download.savannah.gnu.org/releases/lzip/lunzip/$pkgname-$pkgver.tar.gz"
    "https://download.savannah.gnu.org/releases/lzip/lunzip/$pkgname-$pkgver.tar.gz.sig"
    )
validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz
sha512sums=('67f950883b7062d37601bc16d7d64c07f6c580afbf3c0f61394dd6fb5d41c27214484b1dea7aabd41db06d18162b95b5734674646c4fcc833268cabe8cba91bb'
            'SKIP')
build() {
	cd "$pkgname-$pkgver"
	./configure --prefix=/usr CPPFLAGS="$CPPFLAGS" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS"
	make
}

check() {
	cd "$pkgname-$pkgver"
	make -k check
}

package() {
	cd "$pkgname-$pkgver"
	make DESTDIR="$pkgdir/" install
}