summaryrefslogtreecommitdiff
path: root/pcr/mednafen-server/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/mednafen-server/PKGBUILD')
-rw-r--r--pcr/mednafen-server/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/pcr/mednafen-server/PKGBUILD b/pcr/mednafen-server/PKGBUILD
new file mode 100644
index 000000000..e29c0bea9
--- /dev/null
+++ b/pcr/mednafen-server/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Márcio Silva <coadde@parabola.nu>
+
+pkgname=mednafen-server
+_pkgname=${pkgname%-server}
+pkgver=0.5.2
+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=('7ca094c7123e147bfaaedc254958fa664b7d71b141f8409b251bb646e04a7a6a5bc7f01ecac049b3895334a09a02e7449ac90e6db1d469322dba44f7281edf15'
+ '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
+}