blob: 29d4a23092a51ae108db2ef986b2d570111445ed (
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
36
37
38
39
|
# Maintainer: Dan Cecile
gamename=ultra-rainbow-bake-sale
pkgname=$gamename-git
pkgver=0.1.41
pkgrel=1
pkgdesc="A singleplayer, deck-building, baking game."
arch=('any')
url="https://dcecile.itch.io/ultra-rainbow-bake-sale"
license=('MIT')
depends=('love10')
makedepends=('python' 'git')
source=($pkgname::git+https://github.com/dcecile/$gamename.git)
sha1sums=('SKIP')
prepare() {
cd "$pkgname"
git submodule init
git submodule update
./fetchDependencies.py
}
pkgver() {
cd "$pkgname"
./versionNumber.py
}
build() {
cd "$pkgname"
./package.py
echo -e "#!/bin/sh\nexec love10 /usr/share/$pkgname/$gamename.love" > $pkgname.sh
}
package() {
cd "$pkgname"
install -Dm0644 $gamename.love "$pkgdir"/usr/share/$pkgname/$gamename.love
install -Dm0644 license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt
install -Dm0755 $pkgname.sh "$pkgdir"/usr/bin/$pkgname
}
|