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

Andrea Scarpino andrea at archlinux.org
Wed Jun 23 11:52:59 EDT 2010


    Date: Wednesday, June 23, 2010 @ 11:52:59
  Author: andrea
Revision: 83876

upgpkg: gtk-doc 1.14-2
arch any; use package()

Modified:
  gtk-doc/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-06-23 15:48:07 UTC (rev 83875)
+++ PKGBUILD	2010-06-23 15:52:59 UTC (rev 83876)
@@ -3,9 +3,9 @@
 
 pkgname=gtk-doc
 pkgver=1.14
-pkgrel=1
+pkgrel=2
 pkgdesc="Documentation tool for public library API"
-arch=(i686 x86_64)
+arch=('any')
 license=('GPL' 'FDL')
 depends=('docbook-xsl' 'gnome-doc-utils' 'perl') 
 makedepends=('pkgconfig' 'jade')
@@ -16,7 +16,11 @@
 
 build() { 
   cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr || return 1
-  make || return 1 
-  make DESTDIR="${pkgdir}" install || return 1
+  ./configure --prefix=/usr
+  make
 }
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list