updated on Wed Jan 18 04:00:29 UTC 2012
[aur-mirror.git] / regen / PKGBUILD
blob17ff10f7dc7f9b270a835da18ecf19f40084eeb5
1 # Maintainer: TryA <tryagainprod@gmail.com>
2 # Contributor: KillaB <xGenoBlast@gmail.com>
4 pkgname=regen
5 pkgver=0.95
6 pkgrel=6
7 pkgdesc="An accuracy focused emulator for Sega Genesis/Mega Drive"
8 arch=("i686" "x86_64")
9 url="http://aamirm.hacking-cult.org/index_files/regen.htm"
10 license=('custom')
11 if [ "${CARCH}" == "x86_64" ]; then
12   depends=('lib32-gtk2' 'lib32-sdl' 'lib32-libpng12' 'lib32-alsa-lib' 'lib32-libxv' 'lib32-libgl')
13 else
14   depends=('gtk2' 'sdl' 'libpng12' 'alsa-lib' 'libxv' 'libgl')
16 makedepends=('upx')
17 source=("http://aamirm.hacking-cult.org/regen/regen-gtk-${pkgver}.tar.bz2"
18         'regen.desktop' 'regen_icon.png' 'LICENSE')
19 md5sums=('ec38384f3beaceaf72797c239aa4834e'
20          'bf8495d681e12d3d8520c8338ad6c1f6'
21          'd88da0445234b85cc7521cc0313e57b3'
22          '12438e857789f43c6645e53ab0e395a1')
23 options=(!strip)
25 build() {
26   cd "${srcdir}"
27   upx -d regen
28   install -Dm755 regen "${pkgdir}/usr/bin/regen"
29   install -Dm644 regen.desktop "${pkgdir}/usr/share/applications/regen.desktop"
30   install -Dm644 regen_icon.png "${pkgdir}/usr/share/pixmaps/regen_icon.png"
31   install -Dm644 README "${pkgdir}/usr/share/doc/regen/README"
32   install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/regen/LICENSE"