1 # Maintainer: Anton Larionov <diffident dot cat at gmail dot com>
2 # Contributor: Dany Martineau <dany.luc.martineau gmail com>
8 pkgdesc="Game based on the Sonic the Hedgehog universe."
10 url="http://opensnc.sourceforge.net/"
13 # Dependency 'libpng' provides by 'allegro4'
15 install=opensonic.install
17 source=("http://downloads.sourceforge.net/project/opensnc/Open Sonic/${pkgver}/opensnc-src-${pkgver}.tar.gz"
21 md5sums=('069fa14f43251b218b4fd81378d1cd78'
22 '29ba0a89203cd59cef11ad465ef7145f'
23 '145a9da698f74ee3a9decc125132a4be')
27 cd "${srcdir}/opensnc-src-${pkgver}/"
29 ./configure --prefix=/usr
34 cd "${srcdir}/opensnc-src-${pkgver}/"
35 make DESTDIR="${pkgdir}" install
36 install -dm755 "${pkgdir}/usr/share/applications/"
37 install -m644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
38 install -m644 icon.png "${pkgdir}/usr/share/${pkgname}/"
39 install -D -m755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
42 # vim:set ts=2 sw=2 et: