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

Gaetan Bisson bisson at archlinux.org
Sun Nov 20 18:58:53 EST 2011


    Date: Sunday, November 20, 2011 @ 18:58:53
  Author: bisson
Revision: 143013

move gts from [community] to [extra] as dependency of graphivz, overwrite outdated version from svn-packages, minor PKGBUILD cleanup

Modified:
  gts/trunk/PKGBUILD

----------+
 PKGBUILD |   35 +++++++++++++++++++++--------------
 1 file changed, 21 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-11-20 22:59:47 UTC (rev 143012)
+++ PKGBUILD	2011-11-20 23:58:53 UTC (rev 143013)
@@ -1,22 +1,29 @@
 # $Id$
-# Maintainer: Juergen Hoetzel  <juergen at archlinux.org>
+
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Thomas Dziedzic <gostrc at gmail>
+# Contributor: Juergen Hoetzel <juergen at archlinux.org>
 # Contributor: Tobias Kieslich <tobias at justdreams.de>
 
 pkgname=gts
 pkgver=0.7.6
-pkgrel=1
-pkgdesc="GNU Triangulated Surface Library"
-arch=(i686 x86_64)
-url="http://gts.sourceforge.net/"
-depends=('glib2' 'bash')
-source=(http://dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('9f710aefd2ed9b3cc1b1216171fc5a8a')
+pkgrel=2
+pkgdesc='Provides useful functions to deal with 3D surfaces meshed with interconnected triangles'
+url='http://gts.sourceforge.net/'
+license=('LGPL')
+arch=('i686' 'x86_64')
+depends=('glib2')
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('000720bebecf0b153eb28260bd30fbd979dcc040')
+options=('!libtool')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
-  ./configure --prefix=/usr
-  make || return 1
-  make DESTDIR=$startdir/pkg install
-  find $startdir/pkg -name '*.la' -exec rm {} \;
+	cd "${pkgname}-${pkgver}"
+	./configure --prefix=/usr --disable-static
+	make
 }
-# vim: ft=sh ts=2 et
+
+package() {
+	cd "${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list