summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Hasting2015-06-30 23:58:13 -0400
committerDan Hasting2015-06-30 23:58:13 -0400
commit0be9c409d1329cbad20783166cc2e717412e72fd (patch)
treeaa4325831398d53f258f36f176361bfeee39a140
downloadaur-0be9c409d1329cbad20783166cc2e717412e72fd.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD26
-rw-r--r--mupen64plus-qt.install11
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..389ca18df24
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = mupen64plus-qt
+ pkgdesc = A basic launcher for Mupen64Plus
+ pkgver = 1.7
+ pkgrel = 1
+ url = https://github.com/dh4/mupen64plus-qt
+ install = mupen64plus-qt.install
+ arch = i686
+ arch = x86_64
+ license = BSD
+ depends = qt5-base
+ depends = quazip
+ depends = mupen64plus
+ source = https://github.com/dh4/mupen64plus-qt/archive/1.7.tar.gz
+ sha256sums = dee1118584a0a5f0c1cf2951a491cfc3527f0cf9149f446b99037a51504138af
+
+pkgname = mupen64plus-qt
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..db2d893166d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+pkgname=mupen64plus-qt
+pkgver=1.7
+pkgrel=1
+pkgdesc="A basic launcher for Mupen64Plus"
+arch=('i686' 'x86_64')
+url="https://github.com/dh4/mupen64plus-qt"
+license=('BSD')
+depends=('qt5-base' 'quazip' 'mupen64plus')
+install=mupen64plus-qt.install
+source=(https://github.com/dh4/${pkgname}/archive/${pkgver}.tar.gz)
+sha256sums=('dee1118584a0a5f0c1cf2951a491cfc3527f0cf9149f446b99037a51504138af')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ qmake-qt5
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ install -Dm755 "mupen64plus-qt" "$pkgdir/usr/bin/mupen64plus-qt"
+ install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 "resources/mupen64plus-qt.desktop" "$pkgdir/usr/share/applications/mupen64plus-qt.desktop"
+ install -Dm644 "resources/images/mupen64plus.png" "$pkgdir/usr/share/icons/hicolor/128x128/apps/mupen64plus-qt.png"
+}
diff --git a/mupen64plus-qt.install b/mupen64plus-qt.install
new file mode 100644
index 00000000000..f196c4e67a0
--- /dev/null
+++ b/mupen64plus-qt.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+} \ No newline at end of file