summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosip Ponjavic2019-07-14 16:28:30 +0200
committerJosip Ponjavic2019-07-14 16:28:30 +0200
commit3a2c49707c7fd8fcaa5a0c75d3a3ceff6728644a (patch)
tree778e3bb4cca1d14a253396a02075cb9749c0fea9
parentc449800b1a19a0584c863ce491debedb91fa3ba7 (diff)
downloadaur-3a2c49707c7fd8fcaa5a0c75d3a3ceff6728644a.tar.gz
upgpkg: r1189.g2abe6e7-1
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD7
2 files changed, 8 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c83a986e6548..878c7b903682 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = mpc-qt-git
pkgdesc = A clone of Media Player Classic reimplimented in Qt.
- pkgver = 18.08.r40.g47c3bba
+ pkgver = r1189.g2abe6e7
pkgrel = 1
- url = https://github.com/cmdrkotori/mpc-qt
+ epoch = 1
+ url = https://gitlab.com/mpc-qt/mpc-qt
arch = x86_64
license = GPL2
makedepends = git
@@ -15,7 +16,7 @@ pkgbase = mpc-qt-git
optdepends = udisks2: to detect available discs
provides = mpc-qt
conflicts = mpc-qt
- source = mpc-qt::git+https://github.com/cmdrkotori/mpc-qt.git
+ source = mpc-qt::git+https://gitlab.com/mpc-qt/mpc-qt.git
sha256sums = SKIP
pkgname = mpc-qt-git
diff --git a/PKGBUILD b/PKGBUILD
index 17e7f2509235..f65115cdb3a2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,10 +2,11 @@
# Contributor:
pkgname=mpc-qt-git
-pkgver=18.08.r40.g47c3bba
+pkgver=r1189.g2abe6e7
pkgrel=1
+epoch=1
pkgdesc='A clone of Media Player Classic reimplimented in Qt.'
-url='https://github.com/cmdrkotori/mpc-qt'
+url='https://gitlab.com/mpc-qt/mpc-qt'
arch=('x86_64')
license=('GPL2')
depends=('desktop-file-utils' 'mpv' 'qt5-x11extras')
@@ -20,7 +21,7 @@ sha256sums=('SKIP')
pkgver() {
cd mpc-qt
- git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+ printf "r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {