diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2020-05-25 16:38:05 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2020-05-25 16:40:03 +0200 |
commit | 4309bb06a47e3d73c2df9f6590958fc316e225b8 (patch) | |
tree | bc130a6ae3d1523d1667cc296d170cb2b50aa61d | |
parent | 7264952b6b0372786e3efe645ae220da272acf78 (diff) | |
download | aports-4309bb06a47e3d73c2df9f6590958fc316e225b8.tar.gz aports-4309bb06a47e3d73c2df9f6590958fc316e225b8.tar.bz2 aports-4309bb06a47e3d73c2df9f6590958fc316e225b8.tar.xz |
community/mopidy: don't compress man pages in package()
abuild(1) will do that for us. Also use a fancy for-loop to install the
man pages, this loop should automatically pick up new man pages if added
by upstream at some point.
-rw-r--r-- | community/mopidy/APKBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/community/mopidy/APKBUILD b/community/mopidy/APKBUILD index 23c707b3bf..0bf02936ff 100644 --- a/community/mopidy/APKBUILD +++ b/community/mopidy/APKBUILD @@ -1,10 +1,11 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Contributor: Łukasz Jendrysik <scadu@yandex.com> # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Contributor: Galen Abell <galen@galenabell.com> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=mopidy pkgver=3.0.2 -pkgrel=2 +pkgrel=3 pkgdesc="Mopidy is an extensible music server" url="https://www.mopidy.com/" arch="noarch" @@ -44,11 +45,11 @@ package() { install -dm755 "$pkgdir/usr/share/doc/mopidy" cp -r build/sphinx/html "$pkgdir/usr/share/doc/mopidy" - install -dm755 "$pkgdir/usr/share/man/man1/" - gzip -c build/sphinx/man/mopidy.1 > "$pkgdir/usr/share/man/man1/mopidy.1.gz" - - install -dm755 "$pkgdir/usr/share/man/man8/" - gzip -c extra/mopidyctl/mopidyctl.8 > "$pkgdir/usr/share/man/man8/mopidyctl.8.gz" + local man + for man in build/sphinx/man/*.? extra/mopidyctl/mopidyctl.8; do + install -Dm644 "$man" \ + "$pkgdir"/usr/share/man/man${man##*.}/${man##*/} + done install -Dm644 "$srcdir/mopidy.conf" \ "$pkgdir/etc/mopidy/mopidy.conf" |