[arch-commits] Commit in plantri/repos/community-x86_64 (4 files)

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


    Date: Monday, August 5, 2019 @ 09:26:32
  Author: arojas
Revision: 497467

archrelease: copy trunk to community-x86_64

Added:
  plantri/repos/community-x86_64/LICENSE
    (from rev 497466, plantri/trunk/LICENSE)
  plantri/repos/community-x86_64/PKGBUILD
    (from rev 497466, plantri/trunk/PKGBUILD)
Deleted:
  plantri/repos/community-x86_64/LICENSE
  plantri/repos/community-x86_64/PKGBUILD

----------+
 LICENSE  |    4 +--
 PKGBUILD |   63 +++++++++++++++++++++++++++++++------------------------------
 2 files changed, 35 insertions(+), 32 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE	2019-08-05 09:26:12 UTC (rev 497466)
+++ LICENSE	2019-08-05 09:26:32 UTC (rev 497467)
@@ -1,2 +0,0 @@
-The programs are written in C and are free for all purposes other than sale for profit. However, they remain subject to our copyright and are not 
-"public domain".

Copied: plantri/repos/community-x86_64/LICENSE (from rev 497466, plantri/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2019-08-05 09:26:32 UTC (rev 497467)
@@ -0,0 +1,2 @@
+The programs are written in C and are free for all purposes other than sale for profit. However, they remain subject to our copyright and are not 
+"public domain".

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-05 09:26:12 UTC (rev 497466)
+++ PKGBUILD	2019-08-05 09:26:32 UTC (rev 497467)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=plantri
-pkgver=5.0
-pkgrel=1
-pkgdesc="A program for generation of certain types of planar graph"
-arch=(x86_64)
-url="http://cs.anu.edu.au/~bdm/plantri/"
-license=(custom)
-depends=(glibc)
-source=("http://cs.anu.edu.au/~bdm/plantri/plantri${pkgver/./}.tar.gz" 'LICENSE')
-sha256sums=('39a2fd2269b1fc6936aa08e45ccbc5c10508b40545a693a8358cdba2e33d42a3'
-            '83a2186806f5f535ebc2ba0381830bc1528f38c8484bf9d7c1977011c25a424a')
-
-build() {
-  cd plantri${pkgver/./}
-  make
-}
-
-package() {
-  cd plantri${pkgver/./}
-
-  mkdir -p "$pkgdir"/usr/bin
-  cp plantri fullgen "$pkgdir"/usr/bin/
-
-  mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
-  cp "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/$pkgname
-}
-

Copied: plantri/repos/community-x86_64/PKGBUILD (from rev 497466, plantri/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-05 09:26:32 UTC (rev 497467)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=plantri
+pkgver=5.0
+pkgrel=2
+pkgdesc="A program for generation of certain types of planar graph"
+arch=(x86_64)
+url="https://cs.anu.edu.au/~bdm/plantri/"
+license=(custom)
+depends=(glibc)
+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
+}
+
+package() {
+  cd plantri${pkgver/./}
+
+  mkdir -p "$pkgdir"/usr/bin
+  cp plantri fullgen "$pkgdir"/usr/bin/
+
+  mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
+  cp "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/$pkgname
+}
+



More information about the arch-commits mailing list