[arch-commits] Commit in subsurface/trunk (PKGBUILD)

Gaetan Bisson bisson at archlinux.org
Tue Mar 3 16:44:31 UTC 2015


    Date: Tuesday, March 3, 2015 @ 17:44:30
  Author: bisson
Revision: 128642

revert bikeshedding

Modified:
  subsurface/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-03-03 15:43:03 UTC (rev 128641)
+++ PKGBUILD	2015-03-03 16:44:30 UTC (rev 128642)
@@ -10,21 +10,21 @@
 url='http://subsurface-divelog.org/'
 license=('GPL2')
 arch=('i686' 'x86_64')
-install=install
 depends=('libzip' 'libxml2' 'libxslt' 'sqlite' 'libusb' 'libgit2'
          'subsurface-libdc' 'subsurface-marble')
 source=("http://subsurface-divelog.org/downloads/${_pkgname}-${pkgver}.tgz"
-        revert-detect.patch
-        qt-5.4.1.patch)
+        'revert-detect.patch'
+        'qt-5.4.1.patch')
 sha1sums=('7c33c734c59ced134f10c242c5f51b6d48cb3a0d'
           '06bee56a7d1c9b93628147f27febbd07e5745e46'
           '0f8ee15029561ff3cca86b937e43e6384df99218')
 
+install=install
 
 prepare() {
-  cd $_pkgname-$pkgver
-  patch -Np1 -R -i ../revert-detect.patch
-  patch -Np1 -i ../qt-5.4.1.patch
+	cd "${srcdir}/${_pkgname}-${pkgver}"
+	patch -p1 -R -i ../revert-detect.patch
+	patch -p1 -i ../qt-5.4.1.patch
 }
   
 build() {



More information about the arch-commits mailing list