archrelease: copy trunk to community-any
[ArchLinux/community.git] / bzip3 / trunk / PKGBUILD
blobffba216a0aed74bbb9798cb062b8c1edd5996e49
1 # Maintainer: Caleb Maclennan <caleb@alerque.com>
3 pkgname=bzip3
4 pkgver=1.3.0
5 pkgrel=1
6 pkgdesc='A better and stronger spiritual successor to BZip2'
7 arch=(x86_64)
8 license=(LGPL3 Apache)
9 url="https://github.com/kspalaiologos/$pkgname"
10 depends=(glibc
11          sh)
12 makedepends=(clang)
13 provides=("lib$pkgname.so")
14 _archive="$pkgname-$pkgver"
15 source=("$url/releases/download/$pkgver/$_archive.tar.xz")
16 sha256sums=('72fca01d9030e9c260e2ff8fe9d2e9f6261ea28e86adabeb6a8af3300ec390ef')
18 build() {
19         cd "$_archive"
20         ./configure --prefix /usr CC=clang
21         make all
24 check() {
25         cd "$_archive"
26         make check
29 package() {
30         cd "$_archive"
31         make DESTDIR="$pkgdir" install
32         install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" *LICENSE