diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 7 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = tpacpi-bat-git - pkgdesc = A Perl script with ACPI calls for recent ThinkPads (such as T420 and W520) whose battery thresholds are not supported by tp_smapi - pkgver = 119.4959b52 + pkgdesc = A Perl script with ACPI calls for recent ThinkPads which are not supported by tp_smapi + pkgver = 3.1.r12.g4959b52 pkgrel = 1 url = https://github.com/teleshoes/tpacpi-bat arch = any @@ -11,7 +11,7 @@ pkgbase = tpacpi-bat-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 pkgname = tpacpi-bat-git @@ -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() { |