diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -14,6 +14,10 @@ provides=(${pkgname/-git/}) source=("git+https://github.com/gyunaev/${pkgname/-git/}.git") sha1sums=(SKIP) +pkgver() { + git -C ${pkgname/-git/} describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + build() { mkdir -p build && cd build qmake-qt5 ../${pkgname/-git/}/src |