blob: 1240454c4d0ed03b8cf9317db3a537a34509e19e (
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
36
|
# Maintainer: Márcio Silva <coadde@parabola.nu>
pkgname=mednafen-server
_pkgname=${pkgname%-server}
pkgver=0.5.1
pkgrel=1
pkgdesc='A server multi-system gaming emulator'
url=http://$_pkgname.sourceforge.net/
license=GPL
arch=(
i686
x86_64
mips64el
)
backup=etc/$pkgname/standard.conf
source=(
http://downloads.sourceforge.net/project/$_pkgname/${_pkgname^}-Server/$pkgver/$pkgname-$pkgver.tar.gz
$pkgname.service
)
sha512sums=(
a670e74181ef4a279240d37846173a2981a52ebbe4fe60f70172fa723172de36454efa21736163b71f27ec8b17cab91bcb4938329affcebe00d6c9bcfa3141bc
cd3d19b789ec7f62c4b8f5fe0f93e7836fab5406a3416434701caf6404cce02c7223dcb8b82bd1e4b00bdcf4df623f0cd44f850a7f79a7be73e04c0804972700
)
build() {
cd $srcdir/$pkgname
./configure --prefix=/usr
make
}
package() {
cd $srcdir/$pkgname
make DESTDIR=$pkgdir install
install -Dm644 standard.conf $pkgdir/etc/$pkgname/standard.conf
install -Dm644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
}
|