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

Pierre Schmitz pierre at archlinux.org
Sat Nov 5 07:56:18 EDT 2011


    Date: Saturday, November 5, 2011 @ 07:56:18
  Author: pierre
Revision: 142172

rebuild old package

Modified:
  wv2/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-05 11:41:36 UTC (rev 142171)
+++ PKGBUILD	2011-11-05 11:56:18 UTC (rev 142172)
@@ -4,27 +4,31 @@
 
 pkgname=wv2
 pkgver=0.4.2
-pkgrel=1
+pkgrel=2
 pkgdesc="MSWord 9,8,7,6 formats parser"
 arch=('i686' 'x86_64')
 url="http://sourceforge.net/projects/wvware/"
 depends=('libgsf')
 makedepends=('cmake')
-options=(!libtool)
-source=(http://downloads.sourceforge.net/sourceforge/wvware/${pkgname}-${pkgver}.tar.bz2)
+options=('!libtool')
+source=("http://downloads.sourceforge.net/sourceforge/wvware/${pkgname}-${pkgver}.tar.bz2")
 license=('GPL2')
 md5sums=('850ed8e44a84e7bf0610747827018cbc')
 
 build() {
- cd ${srcdir}
- mkdir build
- cd build
+  cd ${srcdir}
+  mkdir build
+  cd build
 
- cmake ../${pkgname}-${pkgver} \
-	-DCMAKE_BUILD_TYPE=Release \
-	-DCMAKE_SKIP_RPATH=ON \
-	-DCMAKE_INSTALL_PREFIX=/usr
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_SKIP_RPATH=ON \
+    -DCMAKE_INSTALL_PREFIX=/usr
 
-  make || return 1
-  make DESTDIR=${pkgdir} install || return 1
+  make
 }
+
+package() {
+  cd ${srcdir}/build
+  make DESTDIR=${pkgdir} install
+}



More information about the arch-commits mailing list