summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuint Guvernator2020-05-25 00:29:36 +0200
committerQuint Guvernator2020-05-25 00:29:36 +0200
commit474b3ac5d94ca61c1eeb928561a9f9905e58a9fe (patch)
tree448c3361ff23e33a8d365146e3b20e1aa32fa775
downloadaur-474b3ac5d94ca61c1eeb928561a9f9905e58a9fe.tar.gz
initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD26
-rwxr-xr-xbgb2
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..63b67ac641c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = bgb
+ pkgdesc = Game Boy emulator with advanced debugger
+ pkgver = 1.5.8
+ pkgrel = 1
+ url = https://bgb.bircd.org
+ arch = x86_64
+ depends = wine
+ noextract = bgb-1.5.8.zip
+ source = bgb-1.5.8.zip::https://bgb.bircd.org/bgb.zip
+ source = bgb
+ md5sums = 15b8b380c45f8cbe9e598f7224fd341e
+ md5sums = c5f34b057c0c5452011dc13b3c60fe94
+
+pkgname = bgb
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6de07fe587e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Quint Guvernator <quint@guvernator.net>
+
+pkgname=bgb
+pkgver=1.5.8
+pkgrel=1
+pkgdesc='Game Boy emulator with advanced debugger'
+arch=(x86_64)
+url=https://bgb.bircd.org
+depends=(wine)
+source=("$pkgname-$pkgver.zip::https://bgb.bircd.org/bgb.zip"
+ $pkgname)
+noextract=("$pkgname-$pkgver.zip")
+md5sums=('15b8b380c45f8cbe9e598f7224fd341e'
+ 'c5f34b057c0c5452011dc13b3c60fe94')
+
+prepare() {
+ cd "$srcdir"
+ mkdir -p "$pkgname-$pkgver"
+ unzip -d "$pkgname-$pkgver" "$pkgname-$pkgver.zip"
+}
+
+package() {
+ mkdir -p "$pkgdir/usr/lib"
+ cp -r "$srcdir/$pkgname-$pkgver" "$pkgdir/usr/lib/$pkgname"
+ install -Dt "$pkgdir/usr/bin" "$srcdir/$pkgname"
+}
diff --git a/bgb b/bgb
new file mode 100755
index 00000000000..d3f6fb901b5
--- /dev/null
+++ b/bgb
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec wine /usr/lib/bgb/bgb.exe $@