[arch-commits] Commit in unrar/repos (6 files)
Antonio Rojas
arojas at archlinux.org
Wed Jun 28 22:28:23 UTC 2017
Date: Wednesday, June 28, 2017 @ 22:28:22
Author: arojas
Revision: 299385
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
unrar/repos/staging-i686/
unrar/repos/staging-i686/PKGBUILD
(from rev 299384, unrar/trunk/PKGBUILD)
unrar/repos/staging-i686/unrar-5.3.4-soname.patch
(from rev 299384, unrar/trunk/unrar-5.3.4-soname.patch)
unrar/repos/staging-x86_64/
unrar/repos/staging-x86_64/PKGBUILD
(from rev 299384, unrar/trunk/PKGBUILD)
unrar/repos/staging-x86_64/unrar-5.3.4-soname.patch
(from rev 299384, unrar/trunk/unrar-5.3.4-soname.patch)
-----------------------------------------+
staging-i686/PKGBUILD | 41 ++++++++++++++++++++++++++++++
staging-i686/unrar-5.3.4-soname.patch | 11 ++++++++
staging-x86_64/PKGBUILD | 41 ++++++++++++++++++++++++++++++
staging-x86_64/unrar-5.3.4-soname.patch | 11 ++++++++
4 files changed, 104 insertions(+)
Copied: unrar/repos/staging-i686/PKGBUILD (from rev 299384, unrar/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2017-06-28 22:28:22 UTC (rev 299385)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: dorphell <dorphell at gmx.net>
+
+pkgbase=unrar
+pkgname=('unrar' 'libunrar')
+pkgver=5.5.5
+pkgrel=2
+epoch=1
+arch=('i686' 'x86_64')
+url="http://www.rarlab.com/rar_add.htm"
+license=('custom')
+makedepends=('hardening-wrapper')
+source=("http://www.rarlab.com/rar/unrarsrc-${pkgver}.tar.gz")
+sha256sums=('a4553839cb2f025d0d9c5633816a83a723e3938209f17620c8c15da06ed061ef')
+
+build() {
+ cp -a unrar libunrar
+ make -C libunrar lib CXXFLAGS="-fPIC ${CXXFLAGS}"
+ make -C unrar CXXFLAGS="-fPIC ${CXXFLAGS}" STRIP="true"
+}
+
+package_unrar() {
+ pkgdesc="The RAR uncompression program"
+ depends=(gcc-libs)
+ cd unrar
+ install -Dm755 unrar "$pkgdir"/usr/bin/unrar
+ # install license
+ install -Dm644 license.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_libunrar() {
+ pkgdesc="Library and header file for applications that use libunrar"
+ depends=(gcc-libs)
+ cd libunrar
+ install -Dm755 libunrar.so "$pkgdir"/usr/lib/libunrar.so
+ install -Dm644 dll.hpp "$pkgdir"/usr/include/unrar/dll.hpp
+ # install license
+ install -Dm644 license.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
Copied: unrar/repos/staging-i686/unrar-5.3.4-soname.patch (from rev 299384, unrar/trunk/unrar-5.3.4-soname.patch)
===================================================================
--- staging-i686/unrar-5.3.4-soname.patch (rev 0)
+++ staging-i686/unrar-5.3.4-soname.patch 2017-06-28 22:28:22 UTC (rev 299385)
@@ -0,0 +1,11 @@
+--- a/makefile 2013-04-29 16:27:05.000000000 +0200
++++ b/makefile 2013-10-01 22:07:29.611485989 +0200
+@@ -146,7 +146,7 @@
+ lib: clean $(OBJECTS) $(LIB_OBJ)
+ @rm -f libunrar.so
+ @rm -f libunrar.a
+- $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
++ $(LINK) -shared -Wl,-soname,libunrar.so.$(libversion) -o libunrar.so.$(libversion) $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
+ $(AR) rcs libunrar.a $(OBJECTS) $(LIB_OBJ)
+
+ install-unrar:
Copied: unrar/repos/staging-x86_64/PKGBUILD (from rev 299384, unrar/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-06-28 22:28:22 UTC (rev 299385)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: dorphell <dorphell at gmx.net>
+
+pkgbase=unrar
+pkgname=('unrar' 'libunrar')
+pkgver=5.5.5
+pkgrel=2
+epoch=1
+arch=('i686' 'x86_64')
+url="http://www.rarlab.com/rar_add.htm"
+license=('custom')
+makedepends=('hardening-wrapper')
+source=("http://www.rarlab.com/rar/unrarsrc-${pkgver}.tar.gz")
+sha256sums=('a4553839cb2f025d0d9c5633816a83a723e3938209f17620c8c15da06ed061ef')
+
+build() {
+ cp -a unrar libunrar
+ make -C libunrar lib CXXFLAGS="-fPIC ${CXXFLAGS}"
+ make -C unrar CXXFLAGS="-fPIC ${CXXFLAGS}" STRIP="true"
+}
+
+package_unrar() {
+ pkgdesc="The RAR uncompression program"
+ depends=(gcc-libs)
+ cd unrar
+ install -Dm755 unrar "$pkgdir"/usr/bin/unrar
+ # install license
+ install -Dm644 license.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_libunrar() {
+ pkgdesc="Library and header file for applications that use libunrar"
+ depends=(gcc-libs)
+ cd libunrar
+ install -Dm755 libunrar.so "$pkgdir"/usr/lib/libunrar.so
+ install -Dm644 dll.hpp "$pkgdir"/usr/include/unrar/dll.hpp
+ # install license
+ install -Dm644 license.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
Copied: unrar/repos/staging-x86_64/unrar-5.3.4-soname.patch (from rev 299384, unrar/trunk/unrar-5.3.4-soname.patch)
===================================================================
--- staging-x86_64/unrar-5.3.4-soname.patch (rev 0)
+++ staging-x86_64/unrar-5.3.4-soname.patch 2017-06-28 22:28:22 UTC (rev 299385)
@@ -0,0 +1,11 @@
+--- a/makefile 2013-04-29 16:27:05.000000000 +0200
++++ b/makefile 2013-10-01 22:07:29.611485989 +0200
+@@ -146,7 +146,7 @@
+ lib: clean $(OBJECTS) $(LIB_OBJ)
+ @rm -f libunrar.so
+ @rm -f libunrar.a
+- $(LINK) -shared -o libunrar.so $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
++ $(LINK) -shared -Wl,-soname,libunrar.so.$(libversion) -o libunrar.so.$(libversion) $(LDFLAGS) $(OBJECTS) $(LIB_OBJ)
+ $(AR) rcs libunrar.a $(OBJECTS) $(LIB_OBJ)
+
+ install-unrar:
More information about the arch-commits
mailing list