Date: Thursday, May 27, 2021 @ 14:32:16 Author: arodseth Revision: 949041
upgpkg: plan9port 20210527-1 Modified: plan9port/trunk/PKGBUILD ----------+ PKGBUILD | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-05-27 14:01:43 UTC (rev 949040) +++ PKGBUILD 2021-05-27 14:32:16 UTC (rev 949041) @@ -4,7 +4,7 @@ # Contributor: Chris Brannon <[email protected]> pkgname=plan9port -pkgver=20200205 +pkgver=20210527 pkgrel=1 pkgdesc='Ports of applications from Plan 9' arch=(x86_64) @@ -15,12 +15,12 @@ provides=(plan9) install=plan9.install options=(staticlibs !zipman) -source=("git+https://github.com/9fans/plan9port.git#commit=f66f0a587b48337388296c8f1820f9b3dbfd0085" - plan9.sh acme.png acme.sh) -sha256sums=('SKIP' - 'a8c8aee15c9dfa60d679567582e9335ae80293133b000326f3af7c630707e93c' - 'b9046c4b7ed5e8e22bf3ea669d65ff681e616663b9743909a225884ac6fb261b' - '9c6eb7881f7333077d701f5201f7a620214d6c5c91c11b2ea7964483214e6cb2') +source=("git+https://github.com/9fans/plan9port#commit=70cc6e5ba7798b315c3fb3aae19620a01604a459" # 2021-05-27 + acme.png acme.sh plan9.sh) +b2sums=('SKIP' + '983106b7a91afadae0f3aff5ff69338aa80d7eb6f9b65a95a31c963f162f6fb2dea748e5da698e0bd14d4343fe17281f55b9a1966fcba1c497fbd4bd855caf6c' + '6bd5abac872d578523fee4d7287aa9df7faecccefab92377a871596f1526f3a26d3e89098aef3bb3e3773b2de6f5f63be6cb13134b1cbc66be9763403c344598' + '743d3b663f8cad370fe4e6f0fe24efd444172327b9e0bd2ac5fd3c4f9595edd4e513c6ba978719a163e0507121cab622de8453289bde19b37365a2a78df4ccf9') prepare() { @@ -32,13 +32,13 @@ --comment 'Editor from Plan9' \ --categories 'Application;Development;TextEditor' - cd "$pkgname" + cd $pkgname # Use _DEFAULT_SOURCE instead of _BSD_SOURCE grep -rl _BSD_SOURCE | xargs sed -i s':_BSD_SOURCE:_DEFAULT_SOURCE:g' # Try the Gentoo way for fixing hardcoded paths - grep --null -l -r '/usr/local/plan9' | xargs --null sed -i "s!/usr/local/plan9!/usr/lib/plan9!g" + grep --null -l -r /usr/local/plan9 | xargs --null sed -i "s!/usr/local/plan9!/usr/lib/plan9!g" # Stop 9l from giving an 'undefined reference error' given no arguments, ref #55640 sed -i '1i[ "$1" == "" ] && exit 1' bin/9l @@ -45,7 +45,7 @@ } package() { - cd "$pkgname" + cd $pkgname d=usr/lib @@ -92,5 +92,3 @@ # Remove git repository rm -rf "$pkgdir/usr/lib/plan9/.git" } - -# vim: ts=2 sw=2 et:
