summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cefa235e3064789cef112fdc23f33c3cd7672272 (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
# Maintainer: Pio <xpio at tut dot by>

pkgname=exploding_numbers
pkgver=0.992
pkgrel=1
pkgdesc="A puzzle game with dividing and adding numbers in a 2D grid"
arch=('any')
url="http://advokat011.com/games/exploding_numbers"
license=('GPL-3.0-or-later')
depends=('love>=11' 'love<12')
makedepends=('unzip')
source=($pkgname.sh
	$pkgname.desktop
	$url/$pkgname-$pkgver.love)
sha256sums=('ed08ce09182aa95031b5b69a4fd02d25d32a9853b837a116723d7b40b9b435ab'
	'cd0385c25678cba45b55e5bf65e79579aa8728e260ec96644bc80618c66f12e0'
	'914848a852da5a51a8502f492acb863fec8e312ce65e9a6f30c64f44762f749a')
noextract=($pkgname-$pkgver.love)

prepare() {
	cd ${srcdir}
	unzip ${pkgname}-${pkgver}.love icon.png
}

package() {
	# Data
	install -Dm644 "${srcdir}/${pkgname}-${pkgver}.love" "${pkgdir}/usr/share/${pkgname}/${pkgname}.love"
	# Launcher
	install -Dm755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
	# Desktop
	install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
	install -Dm644 "icon.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
}