diff options
author | Kristian Gunstone | 2017-01-03 22:12:12 +0100 |
---|---|---|
committer | Kristian Gunstone | 2017-01-03 22:12:12 +0100 |
commit | 3805aaa0a58f19f1d8ed8c15f78b3c568d3c06e6 (patch) | |
tree | 1af211c839df943a1781cb0cc48f403c30f17c04 | |
parent | 11f5a2cd28222aba69b43c3bab9e5e19578dd4cf (diff) | |
download | aur-3805aaa0a58f19f1d8ed8c15f78b3c568d3c06e6.tar.gz |
Install the manpage (didn't exist before this)
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -1,7 +1,7 @@ # Maintainer: Kristian Gunstone <kristian.gunstone.butnotthispart@pean.northis.org> pkgname=netris-git -pkgver=0.55g # Is automatically updated by pkgver() below -pkgrel=2 +pkgver=0.55g_10 # Is automatically updated by pkgver() below +pkgrel=1 pkgdesc="Mark H. Weaver's Netris - A networked terminal version of Tetris. This is my fork, which itself is based on Nathan Aclander's fork." arch=('i686' 'x86_64') url="https://github.com/gammy/netris.git" @@ -30,7 +30,13 @@ build() { } package() { - mkdir -p "${pkgdir}/usr/bin/" - cp -v "${pkgname}/netris" "${pkgdir}/usr/bin/netris" - cp -v "${pkgname}/sr" "${pkgdir}/usr/bin/netris-sr" + local binpath="/usr/bin" + local manpath="/usr/share/man/man6" + + mkdir -p "${pkgdir}/${binpath}" "${pkgdir}/${manpath}" + + cp -v "${pkgname}/netris" "${pkgdir}/${binpath}/netris" + cp -v "${pkgname}/sr" "${pkgdir}/${binpath}/netris-sr" + + gzip -c "${pkgname}/netris.6.man" > "${pkgdir}/${manpath}/netris.6.gz" } |