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

Gaëtan Bisson bisson at archlinux.org
Tue Dec 3 18:26:11 UTC 2019


    Date: Tuesday, December 3, 2019 @ 18:26:11
  Author: bisson
Revision: 370320

upstream update

Modified:
  gts/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-03 16:01:08 UTC (rev 370319)
+++ PKGBUILD	2019-12-03 18:26:11 UTC (rev 370320)
@@ -4,24 +4,27 @@
 # Contributor: Tobias Kieslich <tobias at justdreams.de>
 
 pkgname=gts
-pkgver=0.7.6
-pkgrel=5
+pkgver=0.7.6.121130
+_snap=gts-snapshot-121130
+pkgrel=1
 pkgdesc='Provides useful functions to deal with 3D surfaces meshed with interconnected triangles'
 url='http://gts.sourceforge.net/'
 license=('LGPL')
 arch=('x86_64')
-depends=('glib2')
-source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('059c3e13e3e3b796d775ec9f96abdce8f2b3b5144df8514eda0cc12e13e8b81e')
+depends=('glib2' 'netpbm')
+#source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+source=("http://gts.sourceforge.net/tarballs/${_snap}.tar.gz")
+sha256sums=('c23f72ab74bbf65599f8c0b599d6336fabe1ec2a09c19b70544eeefdc069b73b')
 
 build() {
-	cd "${pkgname}-${pkgver}"
-	export LDFLAGS+=' -lm'
+#	cd "${srcdir}/${pkgname}-${pkgver}"
+	cd "${srcdir}/${_snap}"
 	./configure --prefix=/usr
 	make
 }
 
 package() {
-	cd "${pkgname}-${pkgver}"
+#	cd "${srcdir}/${pkgname}-${pkgver}"
+	cd "${srcdir}/${_snap}"
 	make DESTDIR="${pkgdir}" install
 }


More information about the arch-commits mailing list