summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDan Hasting2015-06-30 23:58:13 -0400
committerDan Hasting2015-06-30 23:58:13 -0400
commit0be9c409d1329cbad20783166cc2e717412e72fd (patch)
treeaa4325831398d53f258f36f176361bfeee39a140 /PKGBUILD
downloadaur-0be9c409d1329cbad20783166cc2e717412e72fd.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
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"
+}