summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Tran2016-04-16 20:14:44 +1000
committerVictor Tran2016-04-16 20:14:44 +1000
commit72ab003084e264b37a63ab1c570960f591802da2 (patch)
treebaacc97695ba5581d6a4d5ee8819668ba7ece145
downloadaur-72ab003084e264b37a63ab1c570960f591802da2.tar.gz
Initial Commit
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD28
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..db31c604c46
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = themedia
+ pkgdesc = Media Player based on Phonon
+ pkgver = 1.0
+ pkgrel = 0
+ url = https://github.com/vicr123/themedia
+ arch = x86_64
+ license = GPL3
+ makedepends = qtchooser
+ makedepends = git
+ makedepends = clang
+ depends = libmusicbrainz5
+ depends = xdg-utils
+ depends = phonon-qt5
+ depends = qt5-base
+ source = themedia-1.0::git+https://github.com/vicr123/themedia.git
+ md5sums = SKIP
+
+pkgname = themedia
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..96b766b07df
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+
+# Maintainer: Victor Tran <vicr12345 at gmail dot com>
+pkgname=themedia
+pkgver=1.0
+pkgrel=0
+pkgdesc="Media Player based on Phonon"
+arch=("x86_64")
+url="https://github.com/vicr123/themedia"
+license=('GPL3')
+depends=('libmusicbrainz5' 'xdg-utils' 'phonon-qt5' 'qt5-base')
+makedepends=('qtchooser' 'git' 'clang')
+source=("$pkgname-$pkgver"::'git+https://github.com/vicr123/themedia.git')
+md5sums=('SKIP')
+
+build() {
+ cd "$pkgname-$pkgver"
+ qmake
+ make
+}
+
+package() {
+ mkdir -p "$pkgdir/usr/bin"
+ cp "$pkgname-$pkgver/themedia" "$pkgdir/usr/bin"
+ mkdir -p "$pkgdir/usr/share/applications"
+ cp "$pkgname-$pkgver/themedia.desktop" "$pkgdir/usr/share/applications"
+ mkdir -p "$pkgdir/usr/share/icons"
+ cp "$srcdir/$pkgname-$pkgver/icon.svg" "$pkgdir/usr/share/icons/themedia.svg"
+}