summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoraksr2017-10-04 08:39:09 +0200
committeraksr2017-10-04 08:39:09 +0200
commitd2633259b091316a020136fadbb2e13df94b628a (patch)
tree20e255c224444e40c383f2d5d434c6f0852f00aa
parentdd06065d29b2d4a7d67f9e002c5fed2dd6260e39 (diff)
downloadaur-d2633259b091316a020136fadbb2e13df94b628a.tar.gz
Add license.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f80d21b89c6b..f60902bb7332 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Tue Oct 3 13:38:38 UTC 2017
+# Wed Oct 4 06:38:29 UTC 2017
pkgbase = es-shell-git
pkgdesc = A extensible shell with higher-order functions, derived from the Plan 9 shell, rc.
pkgver = 0.9.1.r2.ge65327f
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/wryun/es-shell
install = es.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 3c1405ea022c..fbe732957cad 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: aksr <aksr at t-com dot me>
pkgname=es-shell-git
pkgver=0.9.1.r2.ge65327f
-pkgrel=1
+pkgrel=2
epoch=
pkgdesc="A extensible shell with higher-order functions, derived from the Plan 9 shell, rc."
arch=('i686' 'x86_64')
@@ -41,8 +41,9 @@ build() {
package() {
cd "$srcdir/$pkgname"
make prefix="$pkgdir/usr" install
- mkdir -p "$pkgdir/usr/share/doc/${pkgname%-*-*}"
+ mkdir -p $pkgdir/usr/share/{doc,licenses}/${pkgname%-*-*}
install -m644 README initial.es mksignal esdebug \
doc/usenix-w93.ps doc/ERRATA doc/TODO "$pkgdir/usr/share/doc/${pkgname%-*-*}"
+ sed '35,41!d' README > "$pkgdir"/usr/share/licenses/${pkgname%-*-*}/LICENSE
}