Date: Thursday, November 10, 2022 @ 10:03:25
Author: alerque
Revision: 1346393
archrelease: copy trunk to community-x86_64
Added:
bzip3/repos/community-x86_64/PKGBUILD
(from rev 1346392, bzip3/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: bzip3/repos/community-x86_64/PKGBUILD (from rev 1346392,
bzip3/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-10 10:03:25 UTC (rev 1346393)
@@ -0,0 +1,33 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+
+pkgname=bzip3
+pkgver=1.2.1
+pkgrel=1
+pkgdesc='A better and stronger spiritual successor to BZip2'
+arch=(x86_64)
+license=(LGPL3 Apache)
+url="https://github.com/kspalaiologos/$pkgname"
+depends=(glibc
+ sh)
+makedepends=(clang)
+provides=("lib$pkgname.so")
+_archive="$pkgname-$pkgver"
+source=("$url/releases/download/$pkgver/$_archive.tar.xz")
+sha256sums=('4ad3aea9b9c28be102dbfeb3aec89281116784bf41b97331da88aa137bd91a27')
+
+build() {
+ cd "$_archive"
+ ./configure --prefix /usr CC=clang
+ make all
+}
+
+check() {
+ cd "$_archive"
+ make check
+}
+
+package() {
+ cd "$_archive"
+ make DESTDIR="$pkgdir" install
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" *LICENSE
+}