diff options
author | Moritz Bruder | 2018-07-06 14:57:08 +0200 |
---|---|---|
committer | Moritz Bruder | 2018-07-06 14:57:08 +0200 |
commit | 70d28db42b521c698fba45570ba54ddfd58d246a (patch) | |
tree | 35c539a31caa2e5698cba6f2fbfbc9b5eaf149c2 /PKGBUILD | |
parent | 36dbed440386efb338ae562d0d26a05c89edc543 (diff) | |
download | aur-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-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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() { |