summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 394da06e24be3940fa3dd32cf177205aaae56da9 (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: Mahdi Sarikhani <mahdisarikhani@outlook.com>
# Contributor: Cassandra Watergate (saltedcoffii) <cassandrajwatergate@gmail.com>
# Contributor: Peter Mayr <petermayr@ymail.com>

pkgname=lunzip
pkgver=1.14
pkgrel=1
pkgdesc="A decompressor for the lzip format written in C"
arch=('x86_64')
url="https://www.nongnu.org/lzip/lunzip.html"
license=('GPL-2.0-or-later')
depends=('glibc')
source=("https://download.savannah.gnu.org/releases/lzip/lunzip/${pkgname}-${pkgver}.tar.gz"{,.sig})
sha256sums=('70a30ca88c538b074a04a6d5fa12a57f8e89febcb9145d322e9525f3694e4cb0'
            'SKIP')
validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz

build() {
    cd "${pkgname}-${pkgver}"
    ./configure --prefix=/usr CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
    make
}

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

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