[arch-commits] Commit in unarchiver/repos (3 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Apr 14 21:57:49 UTC 2022


    Date: Thursday, April 14, 2022 @ 21:57:49
  Author: foutrelis
Revision: 1186282

archrelease: copy trunk to community-staging-x86_64

Added:
  unarchiver/repos/community-staging-x86_64/
  unarchiver/repos/community-staging-x86_64/PKGBUILD
    (from rev 1186281, unarchiver/trunk/PKGBUILD)
  unarchiver/repos/community-staging-x86_64/native_obj_exceptions.patch
    (from rev 1186281, unarchiver/trunk/native_obj_exceptions.patch)

-----------------------------+
 PKGBUILD                    |   47 ++++++++++++++++++++++++++++++++++++++++++
 native_obj_exceptions.patch |   12 ++++++++++
 2 files changed, 59 insertions(+)

Copied: unarchiver/repos/community-staging-x86_64/PKGBUILD (from rev 1186281, unarchiver/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-04-14 21:57:49 UTC (rev 1186282)
@@ -0,0 +1,47 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+# Contributor: Cedric Girard <girard.cedric at gmail.com>
+# Contributor: N30N <archlinux at alunamation.com>
+
+pkgname=unarchiver
+pkgver=1.10.7
+_UniversalDetector_pkgver=1.1
+pkgrel=6
+pkgdesc="unar and lsar: Objective-C tools for uncompressing archive files"
+arch=(x86_64)
+url="https://github.com/MacPaw/XADMaster"
+license=('LGPL2.1')
+depends=(gnustep-base openssl bzip2 icu gcc-libs zlib wavpack)
+makedepends=(gcc-objc gnustep-make)
+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")
+sha1sums=('edeb1078e36339869a4c48bfc4988016d0f55029'
+          '609aee66fe866f086d8c9eeb66f552d243927a85'
+          '9672c57d4a1705fb4f324ac909c3faa6ccfe33df')
+
+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 < ../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 -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"
+}

Copied: unarchiver/repos/community-staging-x86_64/native_obj_exceptions.patch (from rev 1186281, unarchiver/trunk/native_obj_exceptions.patch)
===================================================================
--- community-staging-x86_64/native_obj_exceptions.patch	                        (rev 0)
+++ community-staging-x86_64/native_obj_exceptions.patch	2022-04-14 21:57:49 UTC (rev 1186282)
@@ -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 \



More information about the arch-commits mailing list