# # Games Packages for Chakra, part of chakra-project.org # # Maintainer: Daniele Cocca # include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=eduke32-dukeplus pkgver=2.15b pkgrel=1 pkgdesc="An EDuke32 mod providing optional enhancements like new options and effects." arch=('any') url="http://deeperthought.dukertcm.com/dp/" license=('GPL') depends=('eduke32>=20090313') makedepends=('unrar') source=( http://deeperthought.dukertcm.com/dp/DukePlus.rar \ ${pkgname}.sh 'eduke32-dukeplus.desktop') md5sums=('e459058b8bc20c3ad417b0c5c1e20903' '578dc25020e24fdf532f563df1f9aec8' '9f32d5cf1062e061f42566f614f86b70') build() { unrar x -o+ -inul DukePlus.rar || return 1 # sed '/dp.cfg/d' -i DukePlus/dpcons/DUKEPLUS.CON cd "${srcdir}" mkdir -p "${pkgdir}/usr/share/eduke32" cp -r DukePlus "${pkgdir}/usr/share/eduke32/" find "${pkgdir}" -type f -exec chmod 644 {} \; install -Dm 755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}" install -Dm 644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" }