summaryrefslogtreecommitdiff
path: root/pcr/mednafen-server
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-20 01:16:55 -0700
committerroot <root@rshg054.dnsready.net>2013-06-20 01:16:55 -0700
commit5898d76e47144f2366f9acda9ab52827b696c2d5 (patch)
tree24ef06e686a0fdbd29152094c42ea6142c40ad28 /pcr/mednafen-server
parent603bdf488872afbc69493bc640aedb7548f3ed51 (diff)
Thu Jun 20 01:16:07 PDT 2013
Diffstat (limited to 'pcr/mednafen-server')
-rw-r--r--pcr/mednafen-server/PKGBUILD15
1 files changed, 6 insertions, 9 deletions
diff --git a/pcr/mednafen-server/PKGBUILD b/pcr/mednafen-server/PKGBUILD
index 0c7057908..0db1b1068 100644
--- a/pcr/mednafen-server/PKGBUILD
+++ b/pcr/mednafen-server/PKGBUILD
@@ -1,26 +1,24 @@
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
pkgname=mednafen-server
+_pkgname=${pkgname%-server}
pkgver=0.5.0
-pkgrel=1
+pkgrel=2
pkgdesc='A server multi-system gaming emulator'
-url=http://${pkgname%-server}.sourceforge.net/
-license=(
- GPL
-)
+url=http://$_pkgname.sourceforge.net/
+license=GPL2
arch=(
i686
x86_64
mips64el
)
+backup=etc/$pkgname/standard.conf
source=(
- http://downloads.sourceforge.net/project/${pkgname%-server}/Mednafen-Server/$pkgver/$pkgname-$pkgver.tar.gz
- ${pkgname}d
+ http://downloads.sourceforge.net/project/$_pkgname/${_pkgname^}-Server/$pkgver/$pkgname-$pkgver.tar.gz
$pkgname.service
)
sha512sums=(
700b2021e5085761b90bb5ee802ff9ccded3cdade76682fe9faa98ebbb0653c9b00baea5baa1c486f850bad606aae33a88e4d9486015babb210648aa0cd4542d
- 55cba761db9c10978a5146e4f92ccce2a645e0566d0744e745b36ede56a0332d1cb1f6c8a09df6a1c01320b539f07ccd7073b2d85eca6b340449a1c3b9761407
cd3d19b789ec7f62c4b8f5fe0f93e7836fab5406a3416434701caf6404cce02c7223dcb8b82bd1e4b00bdcf4df623f0cd44f850a7f79a7be73e04c0804972700
)
@@ -34,6 +32,5 @@ package() {
cd $srcdir/$pkgname
make DESTDIR=$pkgdir install
install -Dm644 standard.conf $pkgdir/etc/$pkgname/standard.conf
- install -Dm644 $srcdir/${pkgname}d $pkgdir/etc/rc.d/$pkgname
install -Dm644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
}