diff options
author | aksr | 2023-12-01 10:50:59 +0100 |
---|---|---|
committer | aksr | 2023-12-01 10:50:59 +0100 |
commit | 319c519652de9f94a940bc11a6a2cf72d92c3033 (patch) | |
tree | d3c89507d06970b0d401fdb4c3d7a5c0dcf19dd3 | |
parent | 6fa82149aadafdd4c0ef27be6b13693b23c62576 (diff) | |
download | aur-es-shell-git.tar.gz |
Fix build.
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 48 | ||||
-rw-r--r-- | es.install | 7 |
3 files changed, 22 insertions, 40 deletions
@@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Wed Apr 10 14:01:17 UTC 2019 pkgbase = es-shell-git pkgdesc = A extensible shell with higher-order functions, derived from the Plan 9 shell, rc. - pkgver = 0.9.1.r7.gcb395c2 + pkgver = 0.9.2.r47.gf879b9e pkgrel = 1 url = https://github.com/wryun/es-shell install = es.install @@ -11,8 +9,7 @@ pkgbase = es-shell-git license = Public Domain makedepends = git optdepends = termcap: for mksignal - source = es-shell-git::git+https://github.com/wryun/es-shell.git + source = es-shell-git::git+https://github.com/wryun/es-shell md5sums = SKIP pkgname = es-shell-git - @@ -1,49 +1,35 @@ # Maintainer: aksr <aksr at t-com dot me> pkgname=es-shell-git -pkgver=0.9.1.r7.gcb395c2 +pkgver=0.9.2.r47.gf879b9e pkgrel=1 -epoch= -pkgdesc="A extensible shell with higher-order functions, derived from the Plan 9 shell, rc." +pkgdesc='A extensible shell with higher-order functions, derived from the Plan 9 shell, rc.' arch=('i686' 'x86_64') -url="https://github.com/wryun/es-shell" +url='https://github.com/wryun/es-shell' license=('Public Domain') -categories=() -groups=() -depends=() makedepends=('git') optdepends=('termcap: for mksignal') -checkdepends=() -provides=() -conflicts=() -replaces=() -backup=() -options=() -changelog= install=${pkgname%-*-*}.install -source=("$pkgname::git+https://github.com/wryun/es-shell.git") -noextract=() +source=("$pkgname::git+$url") md5sums=('SKIP') pkgver() { - cd "$srcdir/$pkgname" - git describe --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g;s/^v//' + cd "$srcdir/$pkgname" + git describe --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g;s/^v//' } build() { - cd "$srcdir/$pkgname" - aclocal - autoconf - libtoolize -qi - ./configure --prefix=/usr - make + cd "$srcdir/$pkgname" + libtoolize -qi + autoreconf + ./configure --prefix=/usr + make } package() { - cd "$srcdir/$pkgname" - make prefix="$pkgdir/usr" install - mkdir -p $pkgdir/usr/share/{doc,licenses}/${pkgname%-*-*} - install -m644 README.md initial.es mksignal esdebug \ - doc/usenix-w93.ps doc/ERRATA doc/TODO "$pkgdir/usr/share/doc/${pkgname%-*-*}" - sed '37,42!d' README.md > "$pkgdir"/usr/share/licenses/${pkgname%-*-*}/LICENSE + cd "$srcdir/$pkgname" + make prefix="$pkgdir/usr" install + mkdir -p $pkgdir/usr/share/doc/${pkgname%-*}/ + install -m644 README.md initial.es mksignal esdebug \ + doc/usenix-w93.ps doc/ERRATA doc/TODO "$pkgdir/usr/share/doc/${pkgname%-*}" + cp -r examples "$pkgdir/usr/share/doc/${pkgname%-*}/" } - diff --git a/es.install b/es.install index e20c0be8d5bb..da83f32bbe89 100644 --- a/es.install +++ b/es.install @@ -1,12 +1,11 @@ post_install() { - grep -qe '^/usr/bin/es$' /etc/shells || echo '/usr/bin/es' >> /etc/shells + grep -qe '^/usr/bin/es$' /etc/shells || echo '/usr/bin/es' >> /etc/shells } post_upgrade() { - post_install + post_install } pre_remove() { - sed -ri '\|^/usr/bin/es$|d' /etc/shells + sed -ri '\|^/usr/bin/es$|d' /etc/shells } - |