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

David Runge dvzrv at archlinux.org
Sun Dec 3 15:33:39 UTC 2017


    Date: Sunday, December 3, 2017 @ 15:33:38
  Author: dvzrv
Revision: 272014

upgpkg: ganv 1.4.2-3

Updating maintainer. Switching to https for url and source. Removing unneeded prepare. Switching to python for makedepends. Calling waf scripts locally. Installing various docs. Minor fixes.

Modified:
  ganv/trunk/PKGBUILD

----------+
 PKGBUILD |   34 +++++++++++++++-------------------
 1 file changed, 15 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-03 14:44:49 UTC (rev 272013)
+++ PKGBUILD	2017-12-03 15:33:38 UTC (rev 272014)
@@ -1,33 +1,29 @@
 # $Id$
-# Maintainer: speps <speps at aur dot archlinux dot org>
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
 
 pkgname=ganv
 pkgver=1.4.2
-pkgrel=2
+pkgrel=3
 pkgdesc="An interactive Gtkmm canvas widget for graph-based interfaces"
 arch=('x86_64')
-url="http://drobilla.net/software/$pkgname/"
+url="https://drobilla.net/software/$pkgname/"
 license=('GPL3')
 depends=('gtkmm' 'graphviz')
-makedepends=('python2')
-source=("http://download.drobilla.net/ganv-$pkgver.tar.bz2")
-md5sums=('30c2c36d0c64d0a3b73e0bc7c564861c')
+makedepends=('python')
+source=("https://download.drobilla.net/ganv-$pkgver.tar.bz2")
+sha512sums=('0609dea81cceb0c560286ad2f132f318c2d583af5163dcea4511155e78a022248dcb7ae535233493bdf906fb036422ebd4368d688123f3e1676c4e0398cbc6c2')
 
-prepare() {
-  cd $pkgname-$pkgver
-
-  # strip ldconfig
-  sed -i '/ldconfig/d' wscript
-}
-
 build() {
-  cd $pkgname-$pkgver
-  CXXFLAGS+=' -std=c++11'
-  python2 waf configure --prefix=/usr
-  python2 waf $MAKEFLAGS
+  cd "${pkgname}-${pkgver}"
+  ./waf configure --prefix=/usr
+  ./waf "${MAKEFLAGS}"
 }
 
 package() {
-  cd $pkgname-$pkgver
-  python2 waf install --destdir="$pkgdir"
+  cd "${pkgname}-${pkgver}"
+  ./waf install --destdir="${pkgdir}"
+  install -Dm644 AUTHORS "${pkgdir}/usr/share/doc/${pkgname}/AUTHORS"
+  install -Dm644 NEWS "${pkgdir}/usr/share/doc/${pkgname}/NEWS"
+  install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
 }



More information about the arch-commits mailing list