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

Jan de Groot jgc at archlinux.org
Sun Oct 12 13:19:00 UTC 2008


    Date: Sunday, October 12, 2008 @ 09:19:00
  Author: jgc
Revision: 15065

Fix PKGBUILD standards

Modified:
  wv/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-10-12 13:10:39 UTC (rev 15064)
+++ PKGBUILD	2008-10-12 13:19:00 UTC (rev 15065)
@@ -10,13 +10,13 @@
 license=(GPL)
 depends=('libgsf>=1.14.3' 'libpng>=1.2.13')
 makedepends=('pkgconfig')
-options=('nolibtool')
+options=('!libtool')
 source=(http://downloads.sourceforge.net/sourceforge/wvware/${pkgname}-${pkgver}.tar.gz)
 md5sums=('c1861c560491f121e12917fa76970ac5')
 
 build() {
-  cd ${startdir}/src/${pkgname}-${pkgver}
-  ./configure --prefix=/usr
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr || return 1
   make || return 1
-  make DESTDIR=${startdir}/pkg install || return 1
+  make DESTDIR="${pkgdir}" install || return 1
 }




More information about the arch-commits mailing list