blob: 286a55ff55fe6b9845f97a07f796a8a4d7af3ad4 (
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
40
41
42
43
44
45
46
47
|
# Maintainer: MCMic <come@chilliet.eu>
# Contributor: MCMic <come@chilliet.eu>
pkgname=zbom
pkgver=1.4
pkgrel=1
epoch=
pkgdesc="The Legend of Zelda: Book of Mudora - A free 2D Zelda fangame"
arch=('any')
url="https://sites.google.com/site/zeldabom/"
license=('custom')
groups=()
depends=('solarus>=1.6.0')
makedepends=('gendesk' 'cmake')
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("https://github.com/wrightmat/${pkgname}/archive/v${pkgver}.tar.gz")
noextract=()
md5sums=('4092f25e35d0b78ad2d0bb2afc5eef45')
_name="The Legend of Zelda: Book of Mudora"
_categories="Game;AdventureGame"
prepare() {
cd ${srcdir}
gendesk -f -n ../PKGBUILD
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
cmake -D CMAKE_INSTALL_PREFIX="/usr" -D CMAKE_BUILD_TYPE=Release .
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}/" PREFIX="/usr" install
# Copy desktop file, icon and run script
install -Dm0644 ../$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
install -Dm0644 data/logos/logo.png "$pkgdir"/usr/share/pixmaps/$pkgname.png
}
|