diff options
author | haawda | 2018-05-13 21:47:57 +0200 |
---|---|---|
committer | haawda | 2018-05-13 21:47:57 +0200 |
commit | a217aca879728b0ed3e6caab3f0f67adbe1d3a5f (patch) | |
tree | dbf4689cf7eaa3c0e845909139f266928f84edc5 | |
parent | 9130846020eab4f625252e28335552a1e454d924 (diff) | |
download | aur-a217aca879728b0ed3e6caab3f0f67adbe1d3a5f.tar.gz |
add README to package
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 14 insertions, 9 deletions
@@ -1,12 +1,13 @@ pkgbase = stalin-git pkgdesc = brutally optimizing Scheme compiler, with Debianization patches from github pkgver = 0.11.5.51.gb9abcf0 - pkgrel = 3 + pkgrel = 4 url = https://github.com/supergrade/stalin arch = i686 arch = x86_64 license = GPL makedepends = git + makedepends = gcc6 depends = glibc provides = stalin conflicts = stalin @@ -1,13 +1,14 @@ # Maintainer: Stefan Husmann <stefan-husmann@t-online.de> + pkgname=stalin-git pkgver=0.11.5.51.gb9abcf0 -pkgrel=3 +pkgrel=4 pkgdesc="brutally optimizing Scheme compiler, with Debianization patches from github" arch=('i686' 'x86_64') url="https://github.com/supergrade/stalin" license=('GPL') depends=('glibc') -makedepends=('git') +makedepends=('git' 'gcc6') provides=('stalin') conflicts=('stalin') source=("git+https://github.com/supergrade/stalin.git") @@ -16,18 +17,21 @@ options=('!makeflags') _gitname="stalin" pkgver() { - cd "$srcdir"/"$_gitname" + cd ${pkgname%-git} git describe --tags | sed 's|-|.|g' | cut -c8- } build() { - cd "$srcdir"/"$_gitname" + cd ${pkgname%-git} ./build || true } package() { - install -Dm644 $srcdir/"$_gitname"/"$_gitname".1 \ - $pkgdir/usr/share/man/man1/"$_gitname".1 - install -Dm755 $srcdir/"$_gitname"/include/"$_gitname" \ - $pkgdir/usr/bin/"$_gitname" + install -Dm644 ${pkgname%-git}/${pkgname%-git}.1 \ + "$pkgdir"/usr/share/man/man1/${pkgname%-git}.1 + install -Dm755 ${pkgname%-git}/include/${pkgname%-git} \ + "$pkgdir"/usr/bin/${pkgname%-git} + install -Dm644 ${pkgname%-git}/README \ + "$pkgdir"/usr/share/doc/${pkgname%-git}/README + } |