diff options
author | Frederik Schwan | 2020-05-17 04:51:13 +0200 |
---|---|---|
committer | Frederik Schwan | 2020-05-17 04:51:13 +0200 |
commit | 4612c96a8aa7c26e8695ceade25d370a89a4573b (patch) | |
tree | d76776bc1934b24ed2298be7f815321f6df9474f /PKGBUILD | |
parent | a5106c0b656d1cac4a03dae5bdc2c79a24b9e6ae (diff) | |
download | aur-4612c96a8aa7c26e8695ceade25d370a89a4573b.tar.gz |
review by anthraxx
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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() { |