1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- # Original AUR Maintainer: Vladimir Panteleev <arch-pkg at thecybershadow.net>
- # Current Maintainer: Dylan Morrison <dylanjmorrison611 at gmail.com>
- pkgname=megazeux
- pkgver=UNSET
- pkgrel=1
- pkgdesc="Game creation system"
- arch=('i686' 'x86_64')
- url="http://www.digitalmzx.net/"
- license=('gpl')
- groups=('games')
- depends=(libvorbis libpng sdl2)
- makedepends=()
- _base=mzx${pkgver/.}
- _filename=${_base}src.tar.xz
- _sha256sum=UNSET
- ##old version
- #source=("${_filename}::http://vault.digitalmzx.net/download.php?rid=2197&f=${_sha256sum}")
- ##new version
- source=("${_filename}::http://vault.digitalmzx.net/download.php?latest=src&ver=${pkgver}")
- sha256sums=("${_sha256sum}")
- DLAGENTS=("http::/usr/bin/curl -A 'Mozilla' -fLC - -o %o %u")
- build() {
- cd "${srcdir}/${_base}"
- ./config.sh \
- --platform unix \
- --prefix /usr \
- --bindir /usr/lib/megazeux \
- --gamesdir /usr/bin
- echo 'RAWLIBDIR=lib' >> platform.inc
- echo 'LIBDIR=/usr/lib' >> platform.inc
- make
- }
- package() {
- cd "${srcdir}/${_base}"
- make DESTDIR="$pkgdir/" install
- }
- # Local Variables:
- # pkgbuild-update-sums-on-save: nil
- # End:
|