[arch-commits] Commit in unrar/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Tue Apr 2 08:25:02 UTC 2019


    Date: Tuesday, April 2, 2019 @ 08:25:01
  Author: arojas
Revision: 349597

archrelease: copy trunk to extra-x86_64

Added:
  unrar/repos/extra-x86_64/PKGBUILD
    (from rev 349596, unrar/trunk/PKGBUILD)
Deleted:
  unrar/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   83 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 44 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-02 08:24:42 UTC (rev 349596)
+++ PKGBUILD	2019-04-02 08:25:01 UTC (rev 349597)
@@ -1,39 +0,0 @@
-# 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.7.3
-pkgrel=1
-epoch=1
-arch=(x86_64)
-url="https://www.rarlab.com/rar_add.htm"
-license=(custom)
-source=("https://www.rarlab.com/rar/unrarsrc-${pkgver}.tar.gz")
-sha256sums=('40e856b78374f258d8a1f5f02c02f828c5392a0118c9300fd169a300b520a444')
-
-build() {
-  cp -a unrar libunrar
-  make -C libunrar lib
-  make -C unrar 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/extra-x86_64/PKGBUILD (from rev 349596, unrar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-02 08:25:01 UTC (rev 349597)
@@ -0,0 +1,44 @@
+# 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.7.4
+pkgrel=1
+epoch=1
+arch=(x86_64)
+url="https://www.rarlab.com/rar_add.htm"
+license=(custom)
+source=("https://www.rarlab.com/rar/unrarsrc-${pkgver}.tar.gz")
+sha256sums=('582dd038fd4632f32493928cae5b37dbb436752813da08a1ee5df2ab1ee7e7b4')
+
+prepare() {
+  sed -e '/CXXFLAGS=/d' -e '/LDFLAGS=/d' -i unrar/makefile # Use system build flags
+}
+
+build() {
+  cp -a unrar libunrar
+  export LDFLAGS+=' -pthread'
+  make -C libunrar lib
+  make -C unrar 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
+}


More information about the arch-commits mailing list