diff options
author | Chris | 2021-11-17 19:27:39 -0500 |
---|---|---|
committer | Chris | 2021-11-17 19:27:39 -0500 |
commit | f48e7b0a1f3aac04fc0d73881d00446ba2e17d45 (patch) | |
tree | 9b6ea061b3d915a28edf596657d9106a6fdf6138 /PKGBUILD | |
download | aur-bzip.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f21e2543e656 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +pkgname=bzip +pkgver=0.21 +pkgrel=1 +pkgdesc='A high-quality data compression program' +arch=('x86_64') +url='https://sourceware.org/bzip2/' +license=('GPL') +depends=() +source=('https://sourceware.org/pub/bzip2/bzip-0.21.tar.gz') +sha512sums=('dcaffbab9ff8bf8246c77a597f928d4aa05ea294b3a527626a36ba2c57bd1ec99b423feaf0ee6b3861be4ee3cbab83ed6f6bcfdd0f52e85fae293ff9e66e9a91') + +build() { + cd "$srcdir/bzip-0.21" + make +} + +package() { + cd "$srcdir/bzip-0.21" + install -Dm755 bzip "$pkgdir/usr/bin/bzip" + install -Dm755 bunzip "$pkgdir/usr/bin/bunzip" + + install -Dm644 bzip.1 "$pkgdir/usr/share/man/man1/bzip.1" + ln -sf bzip.1 "$pkgdir/usr/share/man/man1/bunzip.1" +} |