From b1bc88305a9ff6154069447a1d3740d24b3f7eec Mon Sep 17 00:00:00 2001 From: Max Rees Date: Thu, 18 Apr 2019 03:45:42 -0400 Subject: user/tlp: bump to 1.2.1 --- user/tlp/APKBUILD | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'user/tlp') diff --git a/user/tlp/APKBUILD b/user/tlp/APKBUILD index 54f478361..d1bdefb23 100644 --- a/user/tlp/APKBUILD +++ b/user/tlp/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Max Rees pkgname=tlp _pkgname=TLP -pkgver=1.1 +pkgver=1.2.1 pkgrel=0 pkgdesc="Linux Advanced Power Management" url="https://linrunner.de/en/tlp/tlp.html" @@ -18,14 +18,11 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/linrunner/$_pkgname/archive/ builddir="$srcdir/$_pkgname-$pkgver" build() { - cd "$builddir" make } package() { - cd "$builddir" - - make DESTDIR="$pkgdir" install-tlp install-man + make DESTDIR="$pkgdir" TLP_WITH_SYSTEMD=0 install-tlp install-man install -Dm755 "$srcdir"/tlp.initd "$pkgdir"/etc/init.d/"$pkgname" # We don't ship systemd find "$pkgdir"/usr/share/man/man8 -name '*.service*' -delete @@ -36,7 +33,7 @@ rdw() { depends="tlp" cd "$builddir" - make DESTDIR="$subpkgdir" install-rdw + make DESTDIR="$subpkgdir" TLP_WITH_SYSTEMD=0 install-rdw } bashcomp() { @@ -44,9 +41,12 @@ bashcomp() { depends="" install_if="$pkgname=$pkgver-r$pkgrel bash-completion" - mkdir -p "$subpkgdir"/usr/share - mv "$pkgdir"/usr/share/bash-completion "$subpkgdir"/usr/share + mkdir -p "$subpkgdir"/usr/share/bash-completion/completions + mv "$pkgdir"/usr/share/bash-completion/completions/* \ + "$subpkgdir"/usr/share/bash-completion/completions + mv "$pkgbasedir/$pkgname-rdw"/usr/share/bash-completion/completions/* \ + "$subpkgdir"/usr/share/bash-completion/completions } -sha512sums="3400f2b6c249fd2e1bbbc61f23e3450ff90fabb8dd74f2903ce1f0d07e7ce3d1e61b07295736138d4697235dbee9157d3f32a8d296a649c93f73e03e3555af1e tlp-1.1.tar.gz +sha512sums="c5cf2c9cb4d5e1e0ad693ab73f7971486671dab9b785a4e121b3550f5b096a8b028bd9d116851db6402ab7ccd9b3fe944d138fd35dc17d826482c59257f12c9f tlp-1.2.1.tar.gz e6de216b2540413812711b3304cdc29c8729d527080cfd747ba382db50166dd21c6c27ff467f9f2a967e92007c7a311b00e88262952c34a22f417578c66cf4e7 tlp.initd" -- cgit v1.2.3-70-g09d2