blob: edad3936a18ab83d1db4987c6473518a36829c97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $Id: PKGBUILD 85586 2013-03-03 17:28:52Z dreisner $
# Maintainer: Jonathan Steel <mail@jsteel.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: Jason Chu <jason@archlinux.org>
# Contributor: Joker-jar <joker-jar@yandex.ru>
pkgname=dgen-sdl
pkgver=1.32
pkgrel=2
pkgdesc="An emulator for Sega Genesis/Mega Drive systems ported to SDL"
arch=('i686' 'x86_64' 'mips64el')
url="http://dgen.sourceforge.net"
license=('BSD')
depends=('sdl' 'libgl' 'libarchive')
if test "$CARCH" == i686; then
makedepends=('nasm')
fi
source=(http://downloads.sourceforge.net/dgen/$pkgname-$pkgver.tar.gz)
md5sums=('81b6f1c4bd612e81a9b8663c38d51890')
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir"/ install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
|