summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMaxime Gauduin2016-01-03 15:38:33 +0100
committerMaxime Gauduin2016-01-03 15:38:33 +0100
commit979b5e8e3a0bd1d415008ab30714f8989c703d95 (patch)
treebd6148a6b1c7db6e0219152f2a823e4e9a1aa87b /PKGBUILD
parent6b9a5622570d958384bb31bcd888ce05ce48114a (diff)
downloadaur-979b5e8e3a0bd1d415008ab30714f8989c703d95.tar.gz
tlp-git 0.8.r34.788c4df-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 7 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ce82839e77f..309fb69353e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,29 +3,29 @@
pkgbase=tlp-git
pkgname=('tlp-git' 'tlp-rdw-git')
-pkgver=0.8.r0.6f7bca9
+pkgver=0.8.r34.788c4df
pkgrel=1
arch=('any')
url='http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html'
license=('GPL2' 'GPL3')
makedepends=('git')
-source=('tlp::git+https://github.com/linrunner/TLP.git#branch=devel'
- 'tlp-arch.patch')
+source=('tlp::git+https://github.com/linrunner/TLP.git'
+ '0001-Fix-man-path.patch')
sha256sums=('SKIP'
- '836a07ebb222d7d696ac33d8596a9b129debb70793bb4dbb6283ce8311ea303c')
+ 'f5a6e1d417fff03ca37a12e6203c2a53d0b266ceedc5ad21e51e57e686d601bf')
pkgver() {
cd tlp
tag='0.8'
- echo "${tag}.r$(git rev-list --count ${tag}..HEAD).$(git rev-parse --short HEAD)"
+ echo "$(git describe --tags | sed 's/-/.r/; s/-g/./')"
}
prepare() {
cd tlp
- patch -Np1 -i ../tlp-arch.patch
+ patch -Np1 -i ../0001-Fix-man-path.patch
}
package_tlp-git() {
@@ -50,11 +50,7 @@ package_tlp-git() {
export TLP_NO_PMUTILS='1'
export TLP_WITH_SYSTEMD='1'
- make DESTDIR="${pkgdir}" install-tlp
-
- install -dm 755 "${pkgdir}"/usr/share/man/man{1,8}
- install -m 644 man/*.1 "${pkgdir}"/usr/share/man/man1/
- install -m 644 man/*.8 "${pkgdir}"/usr/share/man/man8/
+ make DESTDIR="${pkgdir}" install-tlp install-man
}
package_tlp-rdw-git() {