blob: be7eaf5cc02dbc74b9d1b54fe37b2ccd56cad542 (
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
32
33
34
35
|
# Maintainer: Vasya Novikov <vnnn91@yandex.ru> (replace "nnn" with a single "n")
pkgname=bambam-git
pkgver=r83.6ee374d
pkgrel=1
pkgdesc="A simple baby keyboard masher application."
arch=('any')
url="https://github.com/porridge/bambam"
license=('GPLv3')
depends=('python3' 'python-pygame')
source=("git+https://github.com/porridge/bambam.git"
bambam.desktop)
sha256sums=('SKIP'
'2d7926a150805654d6581fff5781217eb9e3c5eeb4c01240737b229dc4f48a31')
pkgver() {
cd "${srcdir}/bambam"
echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/bambam"
mkdir -p "${pkgdir}/usr/share/icons"
cp icon.gif "${pkgdir}/usr/share/icons/bambam.gif"
mkdir -p "${pkgdir}/usr/share/games/bambam"
cp -R bambam.py data/ "${pkgdir}/usr/share/games/bambam/"
mkdir -p "${pkgdir}/usr/share/applications"
cp "${srcdir}/bambam.desktop" "${pkgdir}/usr/share/applications/"
mkdir -p "${pkgdir}/usr/bin"
ln --symbolic "../share/games/bambam/bambam.py" "${pkgdir}/usr/bin/bambam"
}
|