[arch-commits] Commit in plan9port/trunk (PKGBUILD)
Alexander Rødseth
arodseth at gemini.archlinux.org
Thu Dec 30 00:11:52 UTC 2021
Date: Thursday, December 30, 2021 @ 00:11:52
Author: arodseth
Revision: 1088052
upgpkg: plan9port 20211019-1
Modified:
plan9port/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-30 00:04:23 UTC (rev 1088051)
+++ PKGBUILD 2021-12-30 00:11:52 UTC (rev 1088052)
@@ -4,7 +4,7 @@
# Contributor: Chris Brannon <cmbrannon79 at gmail.com>
pkgname=plan9port
-pkgver=20210527
+pkgver=20211019
pkgrel=1
pkgdesc='Ports of applications from Plan 9'
arch=(x86_64)
@@ -15,7 +15,7 @@
provides=(plan9)
install=plan9.install
options=(staticlibs !zipman)
-source=("git+https://github.com/9fans/plan9port#commit=70cc6e5ba7798b315c3fb3aae19620a01604a459" # 2021-05-27
+source=("git+https://github.com/9fans/plan9port#commit=d0d440860f2000a1560abb3f593cdc325fcead4c" # 2021-10-19
acme.png acme.sh plan9.sh)
b2sums=('SKIP'
'983106b7a91afadae0f3aff5ff69338aa80d7eb6f9b65a95a31c963f162f6fb2dea748e5da698e0bd14d4343fe17281f55b9a1966fcba1c497fbd4bd855caf6c'
@@ -22,7 +22,6 @@
'6bd5abac872d578523fee4d7287aa9df7faecccefab92377a871596f1526f3a26d3e89098aef3bb3e3773b2de6f5f63be6cb13134b1cbc66be9763403c344598'
'743d3b663f8cad370fe4e6f0fe24efd444172327b9e0bd2ac5fd3c4f9595edd4e513c6ba978719a163e0507121cab622de8453289bde19b37365a2a78df4ccf9')
-
prepare() {
# Generate a desktop shortcut for the Acme editor
gendesk -f \
@@ -44,13 +43,16 @@
sed -i '1i[ "$1" == "" ] && exit 1' bin/9l
}
+build() {
+ cd $pkgname
+ export CFLAGS+=' -ffat-lto-objects -w'
+ ./INSTALL -b
+}
+
package() {
cd $pkgname
-
+ install -Dm755 ../plan9.sh "$pkgdir/etc/profile.d/plan9.sh"
d=usr/lib
-
- ./INSTALL -b
- install -Dm755 ../plan9.sh "$pkgdir/etc/profile.d/plan9.sh"
install -d "$pkgdir/$d"
install -d "$pkgdir/usr/share/doc/$pkgname"
cp -r "$srcdir/$pkgname" "$pkgdir/$d/plan9"
More information about the arch-commits
mailing list