1 # Maintainer: TryA <tryagainprod@gmail.com>
6 pkgdesc='An emulator of Sega Genesis, Sega CD and 32X, built from the official Gens for Linux tree'
7 url='http://gens.sourceforge.net'
10 if [[ $CARCH == "x86_64" ]]; then
11 depends=('lib32-gtk2' 'lib32-sdl' 'lib32-libgl')
12 makedepends=('nasm' 'gcc-multilib')
14 depends=('gtk2' 'sdl' 'libgl')
17 conflicts=('gens-gs' 'bin32-gens' 'bin32-gens-gs')
18 source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
20 md5sums=('1496a49be056d65bf76b52de62e932d7'
21 '99796e505b58f08a0930e61e6a5f23f9')
24 if [ $CARCH == "x86_64" ]; then
31 cd ${srcdir}/${pkgname}-${pkgver}
32 ./configure --prefix=/usr
37 cd ${srcdir}/${pkgname}-${pkgver}
38 make DESTDIR=${pkgdir} install
39 install -Dm644 ${srcdir}/gens.desktop \
40 ${pkgdir}/usr/share/applications/gens.desktop