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

Antonio Rojas arojas at archlinux.org
Mon Aug 5 09:26:12 UTC 2019


    Date: Monday, August 5, 2019 @ 09:26:12
  Author: arojas
Revision: 497466

Use system build flags

Modified:
  plantri/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-05 09:23:09 UTC (rev 497465)
+++ PKGBUILD	2019-08-05 09:26:12 UTC (rev 497466)
@@ -2,16 +2,20 @@
 
 pkgname=plantri
 pkgver=5.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A program for generation of certain types of planar graph"
 arch=(x86_64)
-url="http://cs.anu.edu.au/~bdm/plantri/"
+url="https://cs.anu.edu.au/~bdm/plantri/"
 license=(custom)
 depends=(glibc)
-source=("http://cs.anu.edu.au/~bdm/plantri/plantri${pkgver/./}.tar.gz" 'LICENSE')
+source=("https://cs.anu.edu.au/~bdm/plantri/plantri${pkgver/./}.tar.gz" 'LICENSE')
 sha256sums=('39a2fd2269b1fc6936aa08e45ccbc5c10508b40545a693a8358cdba2e33d42a3'
             '83a2186806f5f535ebc2ba0381830bc1528f38c8484bf9d7c1977011c25a424a')
 
+prepare() {
+  sed -e '/CFLAGS=/d' -e '/LDFLAGS=/d' -i plantri${pkgver/./}/makefile
+}
+
 build() {
   cd plantri${pkgver/./}
   make



More information about the arch-commits mailing list