[arch-commits] Commit in unshield/trunk (PKGBUILD libunshield.c.patch)

Sergej Pupykin spupykin at archlinux.org
Wed Oct 28 11:32:17 UTC 2015


    Date: Wednesday, October 28, 2015 @ 12:32:17
  Author: spupykin
Revision: 145179

Modified:
  unshield/trunk/PKGBUILD
Deleted:
  unshield/trunk/libunshield.c.patch

---------------------+
 PKGBUILD            |   13 +++----------
 libunshield.c.patch |   12 ------------
 2 files changed, 3 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-10-28 11:08:34 UTC (rev 145178)
+++ PKGBUILD	2015-10-28 11:32:17 UTC (rev 145179)
@@ -2,7 +2,7 @@
 # Maintainer: Giovanni Scafora <giovanni at archlinux.org>
 
 pkgname=unshield
-pkgver=1.1
+pkgver=1.3
 pkgrel=1
 pkgdesc="Extracts CAB files from InstallShield installers"
 arch=('i686' 'x86_64')
@@ -10,17 +10,11 @@
 license=('custom')
 depends=('zlib')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/twogood/unshield/archive/$pkgver.tar.gz")
-md5sums=('209d1b380bf54b25d9b1ee9b343d3090')
+md5sums=('13b716e0a3f45fe74ca24c6aaf4e5bb0')
 
-prepare() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  sed -i 's|-Werror||g' configure.ac.in
-}
-
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
-  ./bootstrap
-  ./configure --prefix=/usr
+  cmake -DCMAKE_INSTALL_PREFIX=/usr .
   make
 }
 
@@ -29,4 +23,3 @@
   make DESTDIR=${pkgdir} install
   install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/unshield/LICENSE
 }
-

Deleted: libunshield.c.patch
===================================================================
--- libunshield.c.patch	2015-10-28 11:08:34 UTC (rev 145178)
+++ libunshield.c.patch	2015-10-28 11:32:17 UTC (rev 145179)
@@ -1,12 +0,0 @@
---- lib/libunshield.c	2004-08-24 08:10:27.000000000 +0200
-+++ lib/libunshield.c	2010-08-13 20:39:58.000000000 +0200
-@@ -271,6 +271,9 @@
-       
-       header->major_version = (header->common.version >> 12) & 0xf;
- 
-+      if (header->common.version == 0x020004b0)
-+        header->major_version = 9;
-+
- #if 0
-       if (header->major_version < 5)
-         header->major_version = 5;



More information about the arch-commits mailing list