aboutsummaryrefslogtreecommitdiffstats
path: root/community/frotz/APKBUILD
blob: 84ef7be19c72367e1d0d9a8fd4420d2115eb99b8 (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.44
pkgrel=1
pkgdesc="Portable Z-Machine Interpreter"
url="http://frotz.sourceforge.net/"
arch="all"
license="GPL-2.0-or-later"
makedepends="ncurses-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/DavidGriffith/frotz/archive/$pkgver.tar.gz
	Makefile.patch
	"

build() {
	make
}

package() {
	strip $pkgname
	install -m755 -d "$pkgdir/usr/bin"
	install -m755 -d "$pkgdir/usr/share/man/man6"
	install -m755 $pkgname "$pkgdir/usr/bin/"
	install -m644 doc/$pkgname.6 $pkgdir/usr/share/man/man6/$pkgname.6
}

sha512sums="20b2c8948f093463c53498b322230881aa1ad9c8fd68a338b4f5c4803ab28007fc8ba63f6d20f2b4d440fd04138709b9f4f103c9f8a71788e80156ccdff9ce1f  frotz-2.44.tar.gz
50bd0db62eb09bb316dbab106d2bba0ad389e151fefbc587dbd15faf238b559276ce9d603333d5da8760623d014e2587609b96401e616f22062cb0a6aaa2f346  Makefile.patch"