aboutsummaryrefslogblamecommitdiffstats
path: root/community/frotz/APKBUILD
blob: 6852182a59a5a51fb5dd26e9d7b691820e872a41 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                   
                                                  
             

           
                                        

                                   
                          

                                                                      
                          






                                                                                       

         



            
                                                  

 
                                                                                                                                                                 
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=frotz
pkgver=2.52
pkgrel=0
pkgdesc="Portable Z-Machine Interpreter"
url="http://frotz.sourceforge.net/"
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="387e7a7fe0cffd40b639a306eef89a22421a4ff4a8e5dbcf96a1ef3b901744b3f75a671953ecdc17bde0d699e4756d470b61c8213c47315baa2700da92d06710  frotz-2.52.tar.bz2"