Date: Friday, November 9, 2018 @ 21:13:08
  Author: foutrelis
Revision: 404562

archrelease: copy trunk to community-staging-x86_64

Added:
  gpsmanshp/repos/community-staging-x86_64/
  gpsmanshp/repos/community-staging-x86_64/PKGBUILD
    (from rev 404561, gpsmanshp/trunk/PKGBUILD)

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

Copied: gpsmanshp/repos/community-staging-x86_64/PKGBUILD (from rev 404561, 
gpsmanshp/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-11-09 21:13:08 UTC (rev 404562)
@@ -0,0 +1,28 @@
+# Maintainer:  Federico Cinelli   <cine...@aur.archlinux.org>
+
+pkgname=gpsmanshp
+pkgver=1.2.3
+pkgrel=3
+pkgdesc="A Tcl package to read and write shapefiles"
+arch=('x86_64')
+url="http://gpsmanshp.sourceforge.net/";
+license=('GPL')
+depends=('glibc' 'shapelib' 'tcl')
+source=("http://sourceforge.net/projects/$pkgname/files/distr/${pkgname}_$pkgver.tgz";)
+md5sums=('ae25451d75c6c2b281074e13c1da29cd')
+
+prepare() {
+  cd "${pkgname}_$pkgver"
+  sed -i "s|8.4|8.6|g" Makefile8.5
+}
+
+build() {
+  cd "${pkgname}_$pkgver"
+  make -f Makefile8.5 TCLVERSION=8.6
+}
+
+package() {
+  cd "${pkgname}_$pkgver"
+  install -d "$pkgdir"/usr/lib/gpsmanshp
+  make -f Makefile8.5 TCLVERSION=8.6 INSTALLDIR="$pkgdir"/usr/lib/gpsmanshp 
install
+}

Reply via email to