summaryrefslogtreecommitdiff
path: root/pcr/reicast-git/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-15 20:14:50 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-15 20:14:50 -0300
commit7f8cc96027f4ab9ced536a02f429c0a5446de8e3 (patch)
treef56c74f8d04394a4bee7a5c39ba2d80736f1bf00 /pcr/reicast-git/PKGBUILD
parent1838d52e1bcec8c7e0e52a74916eaee33c8098c9 (diff)
reicast-git: add new package to [pcr]
Diffstat (limited to 'pcr/reicast-git/PKGBUILD')
-rw-r--r--pcr/reicast-git/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/pcr/reicast-git/PKGBUILD b/pcr/reicast-git/PKGBUILD
new file mode 100644
index 000000000..aae8b1862
--- /dev/null
+++ b/pcr/reicast-git/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer (Arch): carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
+# Maintainer: André Silva <emulatorman@parabola.nu>
+# Maintainer: Márcio Silva <coadde@parabola.nu>
+
+pkgname=reicast-git
+pkgver=r1200.a9fc0f5
+pkgrel=1
+pkgdesc="A multiplatform Sega Dreamcast emulator"
+arch=('i686' 'x86_64')
+url="http://reicast.com/"
+license=('GPL2' 'BSD' 'MIT')
+conflicts=('reicast')
+provides=('reicast')
+makedepends=('git')
+makedepends_x86_64=('gcc-multilib')
+depends_x86_64=('lib32-libgl' 'lib32-alsa-lib')
+depends_i686=('libgl' 'alsa-lib')
+source=(reicast::"git+https://github.com/reicast/reicast-emulator.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd reicast
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build () {
+ make -C reicast/shell/lin86
+}
+
+package () {
+ cd reicast
+
+ install -Dm755 shell/lin86/reicast.elf "$pkgdir"/usr/bin/reicast
+ # license
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}