summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederik Schwan2020-05-17 04:51:13 +0200
committerFrederik Schwan2020-05-17 04:51:13 +0200
commit4612c96a8aa7c26e8695ceade25d370a89a4573b (patch)
treed76776bc1934b24ed2298be7f815321f6df9474f
parenta5106c0b656d1cac4a03dae5bdc2c79a24b9e6ae (diff)
downloadaur-4612c96a8aa7c26e8695ceade25d370a89a4573b.tar.gz
review by anthraxx
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3be8f3b81342..58337f30ef4f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
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() {