diff options
author | Max Rees <maxcrees@me.com> | 2019-04-18 03:45:42 -0400 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2019-04-18 05:45:35 -0400 |
commit | b1bc88305a9ff6154069447a1d3740d24b3f7eec (patch) | |
tree | 34b4a6efed6b4b6134dfbe8e9c537c9bfa9e85ab | |
parent | 8d02783d1df53a4d4b636e0c6abc48eff75d3a29 (diff) | |
download | packages-b1bc88305a9ff6154069447a1d3740d24b3f7eec.tar.gz packages-b1bc88305a9ff6154069447a1d3740d24b3f7eec.tar.bz2 packages-b1bc88305a9ff6154069447a1d3740d24b3f7eec.tar.xz packages-b1bc88305a9ff6154069447a1d3740d24b3f7eec.zip |
user/tlp: bump to 1.2.1
-rw-r--r-- | user/tlp/APKBUILD | 18 |
1 files changed, 9 insertions, 9 deletions
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 <maxcrees@me.com> 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" |