[arch-commits] Commit in plantri/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Tue Jul 7 16:44:14 UTC 2020
Date: Tuesday, July 7, 2020 @ 16:44:13
Author: felixonmars
Revision: 659390
archrelease: copy trunk to community-staging-x86_64
Added:
plantri/repos/community-staging-x86_64/
plantri/repos/community-staging-x86_64/LICENSE
(from rev 659389, plantri/trunk/LICENSE)
plantri/repos/community-staging-x86_64/PKGBUILD
(from rev 659389, plantri/trunk/PKGBUILD)
----------+
LICENSE | 2 ++
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
2 files changed, 35 insertions(+)
Copied: plantri/repos/community-staging-x86_64/LICENSE (from rev 659389, plantri/trunk/LICENSE)
===================================================================
--- community-staging-x86_64/LICENSE (rev 0)
+++ community-staging-x86_64/LICENSE 2020-07-07 16:44:13 UTC (rev 659390)
@@ -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".
Copied: plantri/repos/community-staging-x86_64/PKGBUILD (from rev 659389, plantri/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-07 16:44:13 UTC (rev 659390)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=plantri
+pkgver=5.0
+pkgrel=3
+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