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

Evangelos Foutras foutrelis at archlinux.org
Mon Aug 6 19:51:20 UTC 2018


    Date: Monday, August 6, 2018 @ 19:51:19
  Author: foutrelis
Revision: 369891

archrelease: copy trunk to community-staging-x86_64

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

-----------------------------+
 PKGBUILD                    |   44 ++++++++++++++++++++++++++++++++++++++++++
 native_obj_exceptions.patch |   22 +++++++++++++++++++++
 2 files changed, 66 insertions(+)

Copied: unarchiver/repos/community-staging-x86_64/PKGBUILD (from rev 369890, unarchiver/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-08-06 19:51:19 UTC (rev 369891)
@@ -0,0 +1,44 @@
+# 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.1
+_commit=1534a5cf6900
+pkgrel=4
+pkgdesc="unar and lsar: Objective-C tools for uncompressing archive files"
+arch=(x86_64)
+url="http://unarchiver.c3.cx/"
+license=('LGPL2.1')
+depends=(gnustep-base openssl bzip2 icu gcc-libs zlib)
+makedepends=(gcc-objc gnustep-make)
+source=("https://bitbucket.org/kosovan/theunarchiver/get/unar-${pkgver}.tar.gz"
+        "native_obj_exceptions.patch")
+sha1sums=('d7dac2b1786e63787dbea74030ecdf8c425de730'
+          'b8024026607dc2de758479b73d8b01ca6f692b59')
+
+prepare(){
+  cd "$srcdir/kosovan-theunarchiver-${_commit}"
+
+  patch -p1 < ../native_obj_exceptions.patch
+}
+
+build() {
+  cd "$srcdir/kosovan-theunarchiver-${_commit}/XADMaster"
+
+  . /usr/share/GNUstep/Makefiles/GNUstep.sh
+  make -f Makefile.linux
+}
+
+package() {
+  cd "$srcdir/kosovan-theunarchiver-${_commit}/XADMaster"
+  install -d "$pkgdir/usr/bin/"
+  install -m755 unar lsar "$pkgdir/usr/bin/"
+
+  cd "$srcdir/kosovan-theunarchiver-${_commit}/Extra"
+  install -d "$pkgdir/usr/share/man/man1"
+  install -m644 lsar.1 unar.1 "$pkgdir/usr/share/man/man1/"
+  install -d "$pkgdir/usr/share/bash-completion/completions/"
+  install -m644 unar.bash_completion "$pkgdir/usr/share/bash-completion/completions/unar"
+  install -m644 lsar.bash_completion "$pkgdir/usr/share/bash-completion/completions/lsar"
+}

Copied: unarchiver/repos/community-staging-x86_64/native_obj_exceptions.patch (from rev 369890, unarchiver/trunk/native_obj_exceptions.patch)
===================================================================
--- community-staging-x86_64/native_obj_exceptions.patch	                        (rev 0)
+++ community-staging-x86_64/native_obj_exceptions.patch	2018-08-06 19:51:19 UTC (rev 369891)
@@ -0,0 +1,22 @@
+diff -Naur The Unarchiver/UniversalDetector/Makefile.linux The Unarchiver_patched/UniversalDetector/Makefile.linux
+--- The Unarchiver/UniversalDetector/Makefile.linux	2011-04-27 03:32:21.000000000 +0200
++++ The Unarchiver_patched/UniversalDetector/Makefile.linux	2011-12-22 10:48:32.138621163 +0100
+@@ -16,7 +16,6 @@
+ 
+ GNUSTEP_OPTS =	-DGNUSTEP \
+ 		-DGNU_RUNTIME=1 \
+-		-D_NATIVE_OBJC_EXCEPTIONS \
+ 		-fgnu-runtime \
+ 		-fexceptions \
+ 		-fobjc-exceptions \
+diff -Naur The Unarchiver/XADMaster/Makefile.linux The Unarchiver_patched/XADMaster/Makefile.linux
+--- The Unarchiver/XADMaster/Makefile.linux	2011-04-27 03:32:21.000000000 +0200
++++ The Unarchiver_patched/XADMaster/Makefile.linux	2011-12-22 10:48:15.488721721 +0100
+@@ -16,7 +16,6 @@
+ 
+ GNUSTEP_OPTS =	-DGNUSTEP \
+ 		-DGNU_RUNTIME=1 \
+-		-D_NATIVE_OBJC_EXCEPTIONS \
+ 		-fgnu-runtime \
+ 		-fexceptions \
+ 		-fobjc-exceptions \



More information about the arch-commits mailing list