summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFrederik Schwan2020-05-17 04:51:13 +0200
committerFrederik Schwan2020-05-17 04:51:13 +0200
commit4612c96a8aa7c26e8695ceade25d370a89a4573b (patch)
treed76776bc1934b24ed2298be7f815321f6df9474f /PKGBUILD
parenta5106c0b656d1cac4a03dae5bdc2c79a24b9e6ae (diff)
downloadaur-4612c96a8aa7c26e8695ceade25d370a89a4573b.tar.gz
review by anthraxx
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 758f395a7231..2c39dfc1ae29 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,9 +2,9 @@
# Contributor: Lucky <archlinux@builds.lucky.li>
pkgname=tpacpi-bat-git
-pkgver=119.4959b52
+pkgver=3.1.r12.g4959b52
pkgrel=1
-pkgdesc='A Perl script with ACPI calls for recent ThinkPads (such as T420 and W520) whose battery thresholds are not supported by tp_smapi'
+pkgdesc='A Perl script with ACPI calls for recent ThinkPads which are not supported by tp_smapi'
arch=('any')
url='https://github.com/teleshoes/tpacpi-bat'
license=('GPLv3')
@@ -13,12 +13,12 @@ makedepends=('git')
provides=('tpacpi-bat')
conflicts=('tpacpi-bat')
backup=('etc/conf.d/tpacpi')
-source=('git://github.com/teleshoes/tpacpi-bat.git')
+source=('git+https://github.com/teleshoes/tpacpi-bat.git')
b2sums=('SKIP')
pkgver() {
cd ${pkgname/-git/}
- echo $(git rev-list --count master).$(git rev-parse --short master)
+ echo $(git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')
}
package() {