aboutsummaryrefslogtreecommitdiffstats
path: root/community/frotz/APKBUILD
blob: b24164a9ff7265103fb87d08a33fb66a0ceafcd8 (plain) (blame)
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
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=frotz
pkgver=2.53
pkgrel=0
pkgdesc="Portable Z-Machine Interpreter"
url="https://davidgriffith.gitlab.io/frotz/"
arch="all"
license="GPL-2.0-or-later"
makedepends="libao-dev libmodplug-dev libsamplerate-dev libsndfile-dev
	ncurses-dev"
subpackages="$pkgname-doc"
source="https://gitlab.com/DavidGriffith/frotz/-/archive/$pkgver/frotz-$pkgver.tar.bz2"

prepare() {
	default_prepare
	# use our cflags
	sed -i 's/^CFLAGS +=/CFLAGS ?=/g' Makefile
}

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="e920529920a0b831b859323046aeae032b4b84ac0296d4ef35026fe8a62798cf5f9f4e255af38421aa21ad5507cd87287924daafc759c9b9d7a089ba7d77d808  frotz-2.53.tar.bz2"