[arch-commits] Commit in (13 files)

Anatol Pomozov anatolik at archlinux.org
Sat Mar 24 23:34:33 UTC 2018


    Date: Saturday, March 24, 2018 @ 23:34:29
  Author: anatolik
Revision: 312164

FS#57846: Add unarchiver and its dependencies to [community]

Added:
  gnustep-base/
  gnustep-base/repos/
  gnustep-base/trunk/
  gnustep-base/trunk/PKGBUILD
  gnustep-make/
  gnustep-make/repos/
  gnustep-make/trunk/
  gnustep-make/trunk/PKGBUILD
  unarchiver/
  unarchiver/repos/
  unarchiver/trunk/
  unarchiver/trunk/PKGBUILD
  unarchiver/trunk/native_obj_exceptions.patch

----------------------------------------------+
 gnustep-base/trunk/PKGBUILD                  |   37 +++++++++++++++++++++
 gnustep-make/trunk/PKGBUILD                  |   39 ++++++++++++++++++++++
 unarchiver/trunk/PKGBUILD                    |   44 +++++++++++++++++++++++++
 unarchiver/trunk/native_obj_exceptions.patch |   22 ++++++++++++
 4 files changed, 142 insertions(+)

Added: gnustep-base/trunk/PKGBUILD
===================================================================
--- gnustep-base/trunk/PKGBUILD	                        (rev 0)
+++ gnustep-base/trunk/PKGBUILD	2018-03-24 23:34:29 UTC (rev 312164)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+# Contributor: Sebastian Sareyko <public at nooms.de>
+
+pkgname=gnustep-base
+pkgver=1.25.1
+pkgrel=1
+pkgdesc="The GNUstep base package"
+arch=('x86_64')
+url="http://www.gnustep.org/"
+license=("GPL" "LGPL")
+depends=(libxslt avahi gmp gcc-libs openssl libffi gnutls icu)
+makedepends=(gcc-objc gnustep-make)
+groups=('gnustep-core')
+options=('!emptydirs' '!makeflags')
+source=(https://github.com/gnustep/libs-base/releases/download/base-${pkgver//./_}/gnustep-base-${pkgver}.tar.gz{,.sig})
+sha256sums=('f28beb9ca485674bcce3053896ad90a31b109fb97c5a041827c72f241e8db69e'
+            'SKIP')
+validpgpkeys=('83AAE47CE829A4146EF83420CA868D4C99149679')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  source /usr/share/GNUstep/Makefiles/GNUstep.sh
+  ./configure --prefix=/usr --sysconfdir=/etc/GNUstep \
+	--with-ffi-include=/usr/lib/libffi-`pacman -Q libffi | cut -f2 -d\ |cut -f1 -d-`/include/
+  # fix file ownership
+  sed -i 's/tar -xf $(TIMEZONE_ARCHIVE);/tar -xf $(TIMEZONE_ARCHIVE);chown -R root:root * ;/' NSTimeZones/Makefile.postamble
+  sed -i 's|.*gnutls_transport_set_lowat.*||' Source/GSSocketStream.m
+  make VERBOSE=1
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+  chown -R root.root "$pkgdir/"
+}


Property changes on: gnustep-base/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: gnustep-make/trunk/PKGBUILD
===================================================================
--- gnustep-make/trunk/PKGBUILD	                        (rev 0)
+++ gnustep-make/trunk/PKGBUILD	2018-03-24 23:34:29 UTC (rev 312164)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Vesa Kaihlavirta <vegai at iki.fi>
+# Contributor: Sebastian Sareyko <public at nooms.de>
+
+pkgname=gnustep-make
+pkgver=2.7.0
+pkgrel=3
+pkgdesc="The GNUstep make package"
+arch=('x86_64') # See FS#29546
+url="http://www.gnustep.org/"
+license=('GPL')
+depends=()
+groups=('gnustep-core')
+backup=('etc/GNUstep/GNUstep.conf')
+source=(https://github.com/gnustep/tools-make/archive/make-${pkgver//./_}.tar.gz)
+sha256sums=('34fb9e848607e6d069bf10141d438c60e04d296a2501b2db1ba6ae28c57dbc56')
+
+prepare() {
+  cd "$srcdir"/tools-make-make-${pkgver//./_}
+  for i in GNUSTEP_SYSTEM_ADMIN_TOOLS GNUSTEP_NETWORK_ADMIN_TOOLS GNUSTEP_LOCAL_ADMIN_TOOLS; do
+    sed -i "s|@$i@|/usr/bin|g" GNUstep{,-strict-v2}.conf.in filesystem.{sh,csh,make}.in
+  done
+}
+
+build() {
+  cd "$srcdir"/tools-make-make-${pkgver//./_}
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc/GNUstep \
+    --enable-native-objc-exceptions
+  make
+}
+
+package() {
+  cd "$srcdir"/tools-make-make-${pkgver//./_}
+  make DESTDIR="$pkgdir" install
+}
+


Property changes on: gnustep-make/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: unarchiver/trunk/PKGBUILD
===================================================================
--- unarchiver/trunk/PKGBUILD	                        (rev 0)
+++ unarchiver/trunk/PKGBUILD	2018-03-24 23:34:29 UTC (rev 312164)
@@ -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=2
+pkgdesc="unar and lsar: Objective-C tools for uncompressing archive files"
+arch=(x86_64 i686)
+url="http://unarchiver.c3.cx/"
+license=('LGPL2.1')
+depends=(gnustep-base openssl bzip2 icu gcc-libs zlib)
+makedepends=(gcc-objc)
+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"
+}


Property changes on: unarchiver/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: unarchiver/trunk/native_obj_exceptions.patch
===================================================================
--- unarchiver/trunk/native_obj_exceptions.patch	                        (rev 0)
+++ unarchiver/trunk/native_obj_exceptions.patch	2018-03-24 23:34:29 UTC (rev 312164)
@@ -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