2022-03-20 13:19:37 +01:00
|
|
|
#!/usr/bin/bash
|
|
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
2022-04-11 23:23:01 +02:00
|
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
2022-03-20 13:19:37 +01:00
|
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
2022-04-11 23:23:01 +02:00
|
|
|
# Website : https://pozol.eu
|
2022-03-20 13:19:37 +01:00
|
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
|
|
|
|
pkgname=libarchive
|
2024-04-29 14:36:00 +02:00
|
|
|
pkgver=3.7.4
|
|
|
|
pkgrel=01
|
2022-08-11 23:51:55 +02:00
|
|
|
pkgdesc='Multi-format archive and compression library'
|
2022-03-20 13:19:37 +01:00
|
|
|
url='https://libarchive.org/'
|
2024-04-29 14:36:00 +02:00
|
|
|
#depends=('acl' 'libacl.so' 'bzip2' 'libbz2.so' 'libxml2' 'libxml2.so' 'lz4' 'openssl' 'libcrypto.so' 'xz' 'liblzma.so' 'zlib' 'libz.so')
|
|
|
|
depends=('acl' 'libacl.so' 'bzip2' 'libbz2.so' 'lz4' 'openssl' 'libcrypto.so' 'xz' 'liblzma.so' 'zlib' 'libz.so')
|
2022-03-20 13:19:37 +01:00
|
|
|
provides=('libarchive.so')
|
|
|
|
#options=('debug')
|
2024-04-29 14:36:00 +02:00
|
|
|
source=("https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.asc})
|
2022-12-11 22:30:40 +01:00
|
|
|
|
2024-04-29 14:36:00 +02:00
|
|
|
#prepare() {
|
|
|
|
# cd "${pkgname}-${pkgver}"
|
|
|
|
# patch -Np1 < ../libarchive-fix-OOB-in-rar-e8-filter-2135.patch
|
|
|
|
#}
|
2022-03-20 13:19:37 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--without-nettle \
|
2024-04-29 14:36:00 +02:00
|
|
|
--without-zstd \
|
|
|
|
--without-xml2 \
|
2022-03-20 13:19:37 +01:00
|
|
|
--disable-static
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2022-08-11 23:51:55 +02:00
|
|
|
|
2024-04-29 14:36:00 +02:00
|
|
|
# they take hours and hours and no progress ... so we run --nocheck build
|
|
|
|
#check() {
|
|
|
|
# cd $pkgname-$pkgver
|
|
|
|
#
|
|
|
|
# make check
|
|
|
|
#}
|
2022-03-20 13:19:37 +01:00
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
make DESTDIR="$pkgdir" install
|
2023-07-19 00:38:47 +02:00
|
|
|
# sed -i "s/iconv //" "$pkgdir"/usr/lib/pkgconfig/libarchive.pc
|
2022-03-20 13:19:37 +01:00
|
|
|
install -Dm0644 COPYING "$pkgdir/usr/share/licenses/libarchive/COPYING"
|
|
|
|
}
|
|
|
|
|
2023-07-19 00:38:47 +02:00
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
|
|
|
|
arch=(x86_64)
|
2022-03-20 13:19:37 +01:00
|
|
|
|
|
|
|
license=('BSD')
|
|
|
|
|
2022-12-12 21:35:52 +01:00
|
|
|
validpgpkeys=(A5A45B12AD92D964B89EEE2DEC560C81CEC2276E # Martin Matuska <mm@FreeBSD.org>
|
|
|
|
DB2C7CF1B4C265FAEF56E3FC5848A18B8F14184B) # Martin Matuska <martin@matuska.org>
|
|
|
|
|
2024-04-29 14:36:00 +02:00
|
|
|
sha256sums=(f887755c434a736a609cbd28d87ddbfbe9d6a3bb5b703c22c02f6af80a802735
|
|
|
|
'SKIP')
|
2024-04-26 11:11:21 +02:00
|
|
|
|
2024-04-29 14:36:00 +02:00
|
|
|
## 0b7363e3ef39ed030fd86182b2bcf706c9631986f8b492f89241aee37739f960 libarchive-3.7.4-01-x86_64.pkg.tar.lz
|
2022-09-06 22:43:35 +02:00
|
|
|
|