summaryrefslogtreecommitdiff
path: root/community/dgen-sdl/PKGBUILD
blob: 411a0964f3c480ba6edb7d1b9807b0dff60175ab (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
# $Id: PKGBUILD 82263 2013-01-13 21:31:21Z jsteel $
# 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.31
pkgrel=2
pkgdesc="An emulator for Sega Genesis/Mega Drive systems ported to SDL"
arch=('i686' 'x86_64')
url="http://dgen.sourceforge.net"
license=('BSD')
depends=('sdl' 'libgl' 'libarchive')
makedepends=('nasm')
source=(http://downloads.sourceforge.net/dgen/$pkgname-$pkgver.tar.gz)
md5sums=('3f297010cc17c471c8c66652d9dee905')


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
}