diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-11-23 00:25:29 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-11-23 00:25:29 +0100 |
commit | b6e8aed04b29a954dd892e5edc18b9b964db7e9a (patch) | |
tree | eae9812f7bd1f7aee03072d4866bea461191df5d | |
parent | 3848d66f91ddc1af75967b7c358b9b255bd8d269 (diff) | |
download | aports-b6e8aed04b29a954dd892e5edc18b9b964db7e9a.tar.bz2 aports-b6e8aed04b29a954dd892e5edc18b9b964db7e9a.tar.xz |
testing/fbida: Don't create multiple -doc subpackages
Currently there is a convention that there should only be one -doc
subpackage per package.
-rw-r--r-- | testing/fbida/APKBUILD | 28 |
1 files changed, 4 insertions, 24 deletions
diff --git a/testing/fbida/APKBUILD b/testing/fbida/APKBUILD index 956df3a771..1faf4fc528 100644 --- a/testing/fbida/APKBUILD +++ b/testing/fbida/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> pkgname=fbida pkgver=2.10 -pkgrel=2 +pkgrel=3 pkgdesc="Few applications to display and elementary edit images" url="http://www.kraxel.org/blog/linux/$pkgname/" arch="all" @@ -11,21 +11,13 @@ depends="perl" depends_dev="giflib-dev libexif-dev motif-dev libpng-dev jpeg-dev" makedepends="$depends_dev linux-headers" install="" -subpackages=" - $pkgname-fbgs:_tool - $pkgname-fbgs-doc:_tool_doc - $pkgname-exiftran:_tool - $pkgname-exiftran-doc:_tool_doc - $pkgname-fbi:_tool - $pkgname-fbi-doc:_tool_doc - $pkgname-ida:_tool - $pkgname-ida-doc:_tool_doc" +subpackages="$pkgname-fbgs:_tool $pkgname-exiftran:_tool + $pkgname-fbi:_tool $pkgname-ida:_tool $pkgname-doc" source="https://www.kraxel.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver build() { - make verbose=yes \ - -C "$_builddir" || return 1 + make verbose=yes -C "$_builddir" || return 1 } package() { @@ -47,18 +39,6 @@ _tool() { "$subpkgdir"/usr/bin/$name || return 1 } -_tool_doc() { - local name=$(echo $subpkgname | cut -d '-' -f2) - pkgdesc="$name tool from $pkgname (documentation)" - arch="noarch" - install_if="docs $pkgname-$name=$pkgver-r$pkgrel" - - mkdir -p "$subpkgdir"/usr/share/man/man1 - mv "$pkgdir"/usr/share/man/man1/$name.1 \ - "$subpkgdir"/usr/share/man/man1/$name.1 || return 1 - gzip -9 "$subpkgdir"/usr/share/man/man1/$name.1 || return 1 -} - md5sums="09460b964b58c2e39b665498eca29018 fbida-2.10.tar.gz" sha256sums="7a5a3aac61b40a6a2bbf716d270a46e2f8e8d5c97e314e927d41398a4d0b6cb6 fbida-2.10.tar.gz" sha512sums="b7371c19d68cc7219faca4bbfa464c85df2eb22c7bd737d4f0a6fb3de481497862ca22832801d29bab57285d5a8d7d0b0009e14426efdce2759d47340f5eca6d fbida-2.10.tar.gz" |