summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMoritz Bruder2018-07-06 14:57:08 +0200
committerMoritz Bruder2018-07-06 14:57:08 +0200
commit70d28db42b521c698fba45570ba54ddfd58d246a (patch)
tree35c539a31caa2e5698cba6f2fbfbc9b5eaf149c2 /PKGBUILD
parent36dbed440386efb338ae562d0d26a05c89edc543 (diff)
downloadaur-70d28db42b521c698fba45570ba54ddfd58d246a.tar.gz
Update to new VCS link
This made a change in the versioning scheme necessary as the new git repository doesn't use tags.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e1dfd1735b2a..1b675b427794 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=libmpd-git
-pkgver=release.0.20.0.r23.g2c8b595
+pkgver=r419.2c8b595
pkgrel=1
pkgdesc="Signal based wrapper around libmpdclient"
arch=('i686' 'x86_64')
@@ -8,13 +8,13 @@ license=('GPL')
depends=('glib2')
conflicts=('libmpd')
-source=($pkgname::git://git.musicpd.org/master/libmpd.git)
+source=($pkgname::git://github.com/DaveDavenport/libmpd.git)
md5sums=(SKIP)
pkgver() {
cd "$pkgname"
- git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {