blob: c5b6c5aec97146e6f503fcd0237267f5326616bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Caltlgin Stsodaat <contact@fossdaily.xyz>
# Contributor: kusakata <shohei atmark kusakata period com>
_pkgname='piu-piu'
pkgname="${_pkgname}-sh-git"
pkgver=r373.4ecf0ea
pkgrel=1
pkgdesc='Old School horizontal scroller "Shoot Them All" game in bash'
arch=('any')
url='https://github.com/vaniacer/piu-piu-SH'
license=('MIT')
makedepends=('git')
optdepends=('netcat: multiplayer mode')
provides=("${_pkgname}")
conflicts=("${_pkgname}-sh")
source=("${_pkgname}::git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${_pkgname}"
install -Dm755 -t "${pkgdir}/usr/bin" "${_pkgname}"
install -Dm644 -t "${pkgdir}/usr/share/doc/${_pkgname}" 'README.md'
install -Dm644 'LICENSE.md' "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}
# vim: ts=2 sw=2 et:
|