aboutsummaryrefslogblamecommitdiffstats
path: root/main/frotz/APKBUILD
blob: bf7abb80ba852944a463c771c5823759dba54bb7 (plain) (tree)
1
2
3
4
5
                                                   
                                                  
             

           








                                          
                                                                                                         
                       
                                     

         
                      



            
                      






                                                                                
                                                                                                                                                               
                                                                                                                                                 
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
pkgname=frotz
pkgver=2.44
pkgrel=0
pkgdesc="A Portable Z-Machine Interpreter"
url="http://frotz.sourceforge.net/"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="ncurses-dev"
install=""
subpackages="$pkgname-doc"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/DavidGriffith/${pkgname}/archive/${pkgver}.tar.gz
	Makefile.patch"
builddir="$srcdir/$pkgname-${pkgver}"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	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"