aboutsummaryrefslogtreecommitdiffstats
path: root/main/gtk-engines
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-02-04 21:06:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-02-04 21:06:04 +0000
commitb1261f774a9243737947789aaccfdb1932e9bb57 (patch)
tree12d6dff53058ccd0d4a22158393313b786c9d179 /main/gtk-engines
parent2ee92c7e71bd7f1fde934551981521a507a1fea9 (diff)
downloadaports-b1261f774a9243737947789aaccfdb1932e9bb57.tar.bz2
aports-b1261f774a9243737947789aaccfdb1932e9bb57.tar.xz
main/gtk-engines: split the themes
So we can depend on one of engines
Diffstat (limited to 'main/gtk-engines')
-rw-r--r--main/gtk-engines/APKBUILD29
1 files changed, 26 insertions, 3 deletions
diff --git a/main/gtk-engines/APKBUILD b/main/gtk-engines/APKBUILD
index dbadad8cd0..b2f98e3d65 100644
--- a/main/gtk-engines/APKBUILD
+++ b/main/gtk-engines/APKBUILD
@@ -2,15 +2,21 @@
# Maintainer:
pkgname=gtk-engines
pkgver=2.21.0
-pkgrel=0
+pkgrel=1
pkgdesc="collection of gtk+ engines"
url="http://www.gtk.org/"
arch="all"
license="GPL"
-depends=
+depends="$pkgname-clearlooks
+ $pkgname-crux
+ $pkgname-industrial
+ $pkgname-mist
+ $pkgname-redmond
+ $pkgname-thinice
+ "
makedepends="gtk+-dev intltool"
install=
-subpackages="$pkgname-lang"
+subpackages="$pkgname-lang $pkgname-dev $depends"
source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz"
# gtk-engines-2.20.2-glib.h.patch"
@@ -40,4 +46,21 @@ package() {
find "$pkgdir" -name '*.la' -delete
}
+_mv_engine() {
+ pkgdesc="GTK $1 engine"
+ replaces="gtk-engines"
+ cd "$pkgdir"
+ find -name "$2" | while read i; do
+ mkdir -p "$subpkgdir"/${i%/*}
+ mv $i "$subpkgdir"/$i
+ done
+}
+
+clearlooks() { _mv_engine "Clearlooks" '*[Cc]learlooks*'; }
+crux() { _mv_engine "Crux" '*[Cc]rux*'; }
+industrial() { _mv_engine "Industrial" '*[Ii]ndustrial*'; }
+mist() { _mv_engine "Mist" '*[Mm]ist*'; }
+redmond() { _mv_engine "Redmond" '*[Rr]edmond*'; }
+thinice() { _mv_engine "ThinIce" '*[Tt]hin[Ii]ce*'; }
+
md5sums="d82ae66d6eb045d83c30b78b13818d41 gtk-engines-2.21.0.tar.gz"