Date: Monday, October 31, 2022 @ 12:38:08
Author: alerque
Revision: 1339797
archrelease: copy trunk to community-x86_64
Added:
bzip3/repos/community-x86_64/
bzip3/repos/community-x86_64/PKGBUILD
(from rev 1339796, bzip3/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: bzip3/repos/community-x86_64/PKGBUILD (from rev 1339796,
bzip3/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2022-10-31 12:38:08 UTC (rev 1339797)
@@ -0,0 +1,33 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+
+pkgname=bzip3
+pkgver=1.2.0
+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=('f0441519321070e03708638b37bdeb9105aff8f0a5c838e45aff1b0cbe752572')
+
+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
+}