initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

50
unar/PKGBUILD Normal file
View File

@@ -0,0 +1,50 @@
# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=unar
pkgver=1.10.7
_UniversalDetector_pkgver=1.1
pkgrel=1
pkgdesc="An Objective-C application for uncompressing archive files"
arch=('i686' 'x86_64')
url='https://github.com/MacPaw/XADMaster'
license=('LGPL-2.1')
depends=('gnustep-base' 'libressl' 'bzip2' 'icu' 'gcc-libs' 'zlib' 'wavpack')
makedepends=('gnustep-make' 'gcc-objc')
replaces=('unarchiver' 'unrar')
conflicts=('unarchiver' 'unrar')
provides=('unarchiver' 'unrar')
source=("XADMaster-${pkgver}.tar.gz::https://github.com/MacPaw/XADMaster/archive/v${pkgver}.tar.gz"
"UniversalDetector-${_UniversalDetector_pkgver}.tar.gz::https://github.com/MacPaw/universal-detector/archive/${_UniversalDetector_pkgver}.tar.gz"
"native_obj_exceptions.patch")
sha512sums=('3447b6d8f3f4fa5eea93c6628a1633017da6ff09c580d5ce4fd422027b3b79acbf38d6e41a059806d1e60eb25a9d66889938b32599168dc2c0ca648e1c1976b1'
'e514670b3d37b2472ed3e9cb0fdc3298a8479772264b7573411f104be554222bec2e01f73e1f35db95620fe785bee2dcf9ddc9c2b1f4ff6b522fa64d14d020f5'
'0501698400c7529467c5c5988aec66b0af6995274df91b312d21f2a651a7ea081efa255c53467cb95cf225ae8c3374ddad978cb447c39b221333a7aa9326b2a2')
prepare() {
# The project requires UniversalDetector next to the source dir. See the project's README for more info about the build requirements.
ln -s universal-detector-${_UniversalDetector_pkgver} UniversalDetector
cd "$srcdir/XADMaster-${pkgver}"
patch < $srcdir/native_obj_exceptions.patch
}
build() {
cd "$srcdir/XADMaster-${pkgver}"
. /usr/share/GNUstep/Makefiles/GNUstep.sh
make -f Makefile.linux
}
package() {
cd "$srcdir/XADMaster-${pkgver}"
install -d "$pkgdir/usr/bin/"
install -m755 unar lsar "$pkgdir/usr/bin/"
install -Dm644 "$srcdir/XADMaster-${pkgver}/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname"
install -d "$pkgdir/usr/share/man/man1"
install -m644 Extra/{lsar.1,unar.1} "$pkgdir/usr/share/man/man1/"
install -d "$pkgdir/usr/share/bash-completion/completions/"
install -m644 Extra/unar.bash_completion "$pkgdir/usr/share/bash-completion/completions/unar"
install -m644 Extra/lsar.bash_completion "$pkgdir/usr/share/bash-completion/completions/lsar"
}

View File

@@ -0,0 +1,12 @@
diff --git a/Makefile.linux b/Makefile.linux
index 153ef71..e44ff0e 100644
--- a/Makefile.linux
+++ b/Makefile.linux
@@ -10,7 +10,6 @@ AR = ar
GNUSTEP_OPTS = -DGNUSTEP \
-DGNU_RUNTIME=1 \
- -D_NATIVE_OBJC_EXCEPTIONS \
-fgnu-runtime \
-fexceptions \
-fobjc-exceptions \