summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorZuyi Hu2015-08-20 20:01:31 +0800
committerZuyi Hu2015-08-20 20:01:31 +0800
commit33d6876e463822cee732791c8a2d92703934d575 (patch)
tree7b289bf4d3a1b7046eb4eabcb8c91091ba0f7e2d
downloadaur-33d6876e463822cee732791c8a2d92703934d575.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD38
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a4c977080f0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = moonplayer
+ pkgdesc = A qt font-end for mplayer with the abilities of watching and downloading videos from network
+ pkgver = 0.39
+ pkgrel = 1
+ url = https://github.com/coslyk/moonplayer
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ depends = qt4
+ depends = python2
+ depends = mplayer
+ source = git+https://github.com/coslyk/moonplayer
+ sha1sums = SKIP
+
+pkgname = moonplayer
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1858b819093
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# maintainer: hzy068808 at gmail.com
+# contributer: a304yuanyuan at gmail.com
+
+pkgname=moonplayer
+pkgver=0.39
+pkgrel=1
+pkgdesc="A qt font-end for mplayer with the abilities of watching and downloading videos from network"
+arch=('i686' 'x86_64')
+url="https://github.com/coslyk/moonplayer"
+license=('GPL')
+depends=('qt4' 'python2' 'mplayer')
+makedepends=('git')
+source=("git+https://github.com/coslyk/moonplayer")
+sha1sums=('SKIP')
+
+pkgver(){
+ cd $srcdir/$pkgname
+ grep "Latest version" README.md | awk '$3 >0 { print $3 }' | sed 's/^v//g'
+}
+build() {
+ cd $srcdir/$pkgname/src
+
+# sed -i 's/python/python2/g' moonplayer.pro
+
+ qmake-qt4 moonplayer.pro
+
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname/src
+
+ make INSTALL_ROOT=$pkgdir install
+
+ cd $pkgdir/usr/share
+
+ mv icons pixmaps
+}