diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-06-23 08:10:02 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-06-23 08:11:11 +0000 |
commit | 419906903361cecce636951b2b37002aed99e20f (patch) | |
tree | 235427b6e3fc2c1e70ca76d3c84c22a0b838ad1b /testing/motif | |
parent | c73231141737eb4d2218a25d9c7779d56a4a65d8 (diff) | |
download | aports-419906903361cecce636951b2b37002aed99e20f.tar.bz2 aports-419906903361cecce636951b2b37002aed99e20f.tar.xz |
testing/motif: simplify subpackages
ship a single motif-doc package for all documentation
let abuild deal with the -dev subpackage
Diffstat (limited to 'testing/motif')
-rw-r--r-- | testing/motif/APKBUILD | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/testing/motif/APKBUILD b/testing/motif/APKBUILD index 01c10d45d5..bd9c71eca5 100644 --- a/testing/motif/APKBUILD +++ b/testing/motif/APKBUILD @@ -4,7 +4,7 @@ pkgname=motif pkgver=2.3.4 -pkgrel=1 +pkgrel=2 pkgdesc="The Motif library" url="http://motif.ics.com/" arch="all" @@ -13,7 +13,7 @@ depends="" depends_dev="libx11-dev libxft-dev libxt-dev libxpm-dev libxext-dev xbitmaps" makedepends="$depends_dev libtool autoconf automake flex flex-libs flex-dev bison" install="" -subpackages="mwm mwm-doc:mwm_doc $pkgname-dev $pkgname-doc" +subpackages="mwm $pkgname-dev $pkgname-doc" source="http://downloads.sourceforge.net/$pkgname/Motif%20$pkgver%20Source%20Code/motif-$pkgver-src.tgz 01-fix-autoconf.patch 02-fix-format-security.patch @@ -81,29 +81,6 @@ mwm() { "$pkgdir"/usr/lib/X11/system.mwmrc > "$subpkgdir"/usr/lib/X11/system.mwmrc } -mwm_doc() { - mkdir -p "$subpkgdir"/usr/share/man/man1 - mv "$pkgdir"/usr/share/man/man1/mwm.1 "$subpkgdir"/usr/share/man/man1 - mv "$pkgdir"/usr/share/man/man1/xmbind.1 "$subpkgdir"/usr/share/man/man1 - mv "$pkgdir"/usr/share/man/man4 "$subpkgdir"/usr/share/man -} - -dev() { - mkdir "$subpkgdir" && cd "$subpkgdir" || exit 1 - mkdir -p usr/lib usr/bin - mv "$pkgdir"/usr/bin/uil usr/bin - mv "$pkgdir"/usr/lib/*.a "$pkgdir"/usr/lib/*.so usr/lib - mv "$pkgdir"/usr/include usr/ -} - -doc() { - mkdir -p "$subpkgdir" && cd "$subpkgdir" || exit 1 - mkdir -p usr/share/man/man1 - mv "$pkgdir"/usr/share/man/man1/uil.1 usr/share/man/man1 - mv "$pkgdir"/usr/share/man/man3 usr/share/man - mv "$pkgdir"/usr/share/man/man5 usr/share/man -} - md5sums="612bb8127d0d31da6e5474edf8a5c247 motif-2.3.4-src.tgz 191cee7af8137e75385153a8f334f50c 01-fix-autoconf.patch |