summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorarcan1s2015-06-08 19:56:58 +0300
committerarcan1s2015-06-08 19:56:58 +0300
commit4ece2c71b999115d6466f52f38bfaf240cce146a (patch)
treecc811197493804c3702bbed81a49184683915dfe
downloadaur-4ece2c71b999115d6466f52f38bfaf240cce146a.tar.gz
upload qmmp-qsmmp-git
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD36
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5358aed24b8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = qmmp-qsmmp-git
+ pkgdesc = Amarok-like interface for qmmp. Git version
+ pkgver = 0.5.34.gcd1ca1a
+ pkgrel = 1
+ url = http://gitorious.org/qsmmp
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = git
+ depends = qmmp
+ depends = libqxt
+ source = qsmmp::git+https://gitorious.org/qsmmp/qsmmp.git#branch=qmmp-9999
+ md5sums = SKIP
+
+pkgname = qmmp-qsmmp-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..15f4e5cd542
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Contributor: core <angrycore@gmail.com>
+# Maintainer Evgeniy "arcanis" Alekseev <esalexeev@gmail.com>
+
+pkgname=qmmp-qsmmp-git
+_gitname=qsmmp
+pkgver=0.5.34.gcd1ca1a
+pkgrel=1
+pkgdesc="Amarok-like interface for qmmp. Git version"
+arch=('i686' 'x86_64')
+url="http://gitorious.org/qsmmp"
+license=('GPL2')
+depends=('qmmp' 'libqxt')
+makedepends=('git')
+source=(${_gitname}::git+https://gitorious.org/qsmmp/qsmmp.git#branch=qmmp-9999)
+md5sums=('SKIP')
+
+pkgver()
+{
+ cd "${_gitname}"
+ local ver=`git describe --long`
+ # because default ver is "qmmp.*"
+ printf "%s" "${${ver//-/.}//qmmp./}"
+}
+
+build()
+{
+ cd "${srcdir}/${_gitname}"
+ qmake-qt4 PREFIX=/usr
+ make
+}
+
+package()
+{
+ cd "${srcdir}/${_gitname}"
+ make INSTALL_ROOT="${pkgdir}" install
+}