From 10f928679a07f35eada4d909ad47a27ffd63665f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Fri, 1 Apr 2016 15:17:53 +0200 Subject: testing/fbida: move /etc/X11/ to fbida-ida Thereby making fbida itself a dummy package. --- testing/fbida/APKBUILD | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'testing/fbida') diff --git a/testing/fbida/APKBUILD b/testing/fbida/APKBUILD index 7f95490244..332d106f3b 100644 --- a/testing/fbida/APKBUILD +++ b/testing/fbida/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Sören Tempel pkgname=fbida pkgver=2.10 -pkgrel=4 +pkgrel=5 pkgdesc="Few applications to display and elementary edit images" url="http://www.kraxel.org/blog/linux/$pkgname/" arch="all" @@ -30,14 +30,21 @@ _tool() { local name=$(echo $subpkgname | cut -d '-' -f2) pkgdesc="$name tool from $pkgname" - depends="$pkgname" - if [ "${name}" = "fbgs" ]; then - depends="$depends $pkgname-fbi ghostscript" + depends="" + if [ "$name" = "fbgs" ]; then + depends="$pkgname-fbi ghostscript" fi mkdir -p "$subpkgdir"/usr/bin mv "$pkgdir"/usr/bin/$name \ "$subpkgdir"/usr/bin/$name || return 1 + + if [ "$name" = "ida" ]; then + mv "$pkgdir"/etc/ "$subpkgdir"/etc/ || return 1 + fi + + rmdir "$pkgdir"/usr/bin/ 2>/dev/null || true + rmdir "$pkgdir"/usr/ 2>/dev/null || true } md5sums="09460b964b58c2e39b665498eca29018 fbida-2.10.tar.gz" -- cgit v1.2.3