summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3026e57cd36360cb85785125a794b39c0de6a2b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Gobidev <adrian[dot]groh[at]t-online[dot]de>
pkgname=gameshell
pkgver=0.5.1
pkgrel=1
pkgdesc="A game to learn (or teach) how to use standard commands in a Unix shell"
arch=('any')
url="https://github.com/phyver/GameShell"
license=('GPL3')
depends=('gettext' 'awk')
optdepends=('man-db: extra missions' 'procps-ng: extra missions' 'psmisc: extra missions' 'nano: extra missions' 'tree: extra missions' 'wget: extra missions' 'xorg-xeyes: extra missions' 'util-linux: extra missions')
provides=('gameshell')
source=(
  "gameshell-${pkgver}.sh::${url}/releases/download/v${pkgver}/gameshell.sh"
  "run_gameshell.sh"
)
b2sums=('bb577ac0a4ea4ef22287ae85bbb05262acba6cbbfef7856ab10a107dcb19b13b7195de3d0a49c5d12fa9fa8fc3bd37f7d5b577682e951a5b514f6e1e0f8e1d9d'
        '4efea74d72365dce9c131bf6cd8f7c42ece00072f8a07a1b9e60f95feab6dbf5dd63c434bf37eaab9d90e968d89584fd21e789aa997f1b1d7d1e0b9000bc0001')

package() {
  install -Dm755 "$srcdir/gameshell-${pkgver}.sh" "$pkgdir/opt/gameshell/gameshell.sh"
  install -Dm755 "$srcdir/run_gameshell.sh" "$pkgdir/usr/bin/gameshell"
}