summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorarcan1s2015-11-15 18:35:05 +0300
committerarcan1s2015-11-15 18:35:05 +0300
commita610403a82985ed86d64200afb3e84a52c96df3e (patch)
tree60b1c09e50a190440364afff1ee0a66e9bc7be34
parent4ece2c71b999115d6466f52f38bfaf240cce146a (diff)
downloadaur-a610403a82985ed86d64200afb3e84a52c96df3e.tar.gz
change repository to github one
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD23
2 files changed, 12 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5358aed24b8..68778e573b8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = qmmp-qsmmp-git
pkgdesc = Amarok-like interface for qmmp. Git version
- pkgver = 0.5.34.gcd1ca1a
+ pkgver = r113.be68591
pkgrel = 1
- url = http://gitorious.org/qsmmp
+ url = https://github.com/ksv1986/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
+ source = qsmmp::git+https://github.com/ksv1986/qsmmp.git
md5sums = SKIP
pkgname = qmmp-qsmmp-git
diff --git a/PKGBUILD b/PKGBUILD
index 15f4e5cd542..29b7f6a1534 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,34 +3,29 @@
pkgname=qmmp-qsmmp-git
_gitname=qsmmp
-pkgver=0.5.34.gcd1ca1a
+pkgver=r113.be68591
pkgrel=1
pkgdesc="Amarok-like interface for qmmp. Git version"
arch=('i686' 'x86_64')
-url="http://gitorious.org/qsmmp"
+url="https://github.com/ksv1986/qsmmp"
license=('GPL2')
depends=('qmmp' 'libqxt')
makedepends=('git')
-source=(${_gitname}::git+https://gitorious.org/qsmmp/qsmmp.git#branch=qmmp-9999)
+source=(${_gitname}::git+https://github.com/ksv1986/qsmmp.git)
md5sums=('SKIP')
-pkgver()
-{
+pkgver() {
cd "${_gitname}"
- local ver=`git describe --long`
- # because default ver is "qmmp.*"
- printf "%s" "${${ver//-/.}//qmmp./}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
-build()
-{
- cd "${srcdir}/${_gitname}"
+build() {
+ cd "${_gitname}"
qmake-qt4 PREFIX=/usr
make
}
-package()
-{
- cd "${srcdir}/${_gitname}"
+package() {
+ cd "${_gitname}"
make INSTALL_ROOT="${pkgdir}" install
}