[arch-commits] Commit in gpsmanshp/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:25:26 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:25:26
  Author: felixonmars
Revision: 659240

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: gpsmanshp/repos/community-staging-x86_64/PKGBUILD (from rev 659239, gpsmanshp/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:25:26 UTC (rev 659240)
@@ -0,0 +1,28 @@
+# Maintainer:  Federico Cinelli   <cinelli at aur.archlinux.org>
+
+pkgname=gpsmanshp
+pkgver=1.2.3
+pkgrel=4
+pkgdesc="A Tcl package to read and write shapefiles"
+arch=('x86_64')
+url="http://gpsmanshp.sourceforge.net/"
+license=('GPL')
+depends=('glibc' 'shapelib' 'tcl')
+source=("https://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
+}



More information about the arch-commits mailing list