summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Beard2023-02-19 22:49:58 +0000
committerJohn Beard2023-02-19 22:49:58 +0000
commita28c7ae5dc186131349046e023d48f52817d7501 (patch)
treefd0385f76966ae19f3161d9ffe646c12ec36087d
parent481710a1be7f0a9b106701cce35534a634c28e45 (diff)
downloadaur-a28c7ae5dc186131349046e023d48f52817d7501.tar.gz
Add pkgver function and bunp to 0.7.. (thanks kempniu)
-rw-r--r--PKGBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 27205e02bf0b..40bd974b6679 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Author: Jonathan Lebon
pkgname=firefox-extension-textern-native-git
-pkgver=0.6.876a83b
+pkgver=0.7.r6.g5e10500
pkgrel=1
url="https://github.com/jlebon/textern"
license=('GPL')
@@ -34,3 +34,8 @@ package() {
sed -i -e "s|$pkgdir||g" "$pkgdir/usr/lib/mozilla/native-messaging-hosts/textern.json"
}
+pkgver() {
+ cd "$srcdir/textern"
+ git describe --long | sed 's/^v//;s/-/.r/;s/-/./'
+}
+