From 3797d2f0e98272cd984cd38a62cf8847b91cf4bd Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 7 Feb 2013 08:25:01 +0000 Subject: testing/bsm-simple-themes: new aport BSM Simple GTK Themes http://gnome-look.org/content/show.php/?content=121685 --- testing/bsm-simple-themes/APKBUILD | 63 ++++++++++++++++++++++++ testing/bsm-simple-themes/bsm-simple-panel.patch | 60 ++++++++++++++++++++++ 2 files changed, 123 insertions(+) create mode 100644 testing/bsm-simple-themes/APKBUILD create mode 100644 testing/bsm-simple-themes/bsm-simple-panel.patch diff --git a/testing/bsm-simple-themes/APKBUILD b/testing/bsm-simple-themes/APKBUILD new file mode 100644 index 000000000..67c7aa223 --- /dev/null +++ b/testing/bsm-simple-themes/APKBUILD @@ -0,0 +1,63 @@ +# Contributor: Natanael Copa +# Maintainer: Natanael Copa +pkgname=bsm-simple-themes +pkgver=1.3 +_ver=${pkgver/./} +pkgrel=0 +pkgdesc="BSM Simple GTK Themes" +url="http://gnome-look.org/content/show.php/?content=121685" +arch="noarch" +license="GPL" +depends="gtk-engines-clearlooks faenza-icon-theme" +makedepends="" +install="" +subpackages="$pkgname-xfwm4 $pkgname-metacity" +source="http://gnome-look.org/CONTENT/content-files/121685-BSM%20Simple%20$_ver.tar.gz + bsm-simple-panel.patch" + +_builddir="$srcdir" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" +} + +package() { + cd "$_builddir" + mkdir -p "$pkgdir"/usr/share/themes + for i in *; do + [ -L "$i" ] && continue + cp -ra "$i" "$pkgdir"/usr/share/themes/ || return 1 + done +} + +xfwm4() { + pkgdesc="BSM Simple GTK Themes - xfwm4" + install_if="$pkgname=$pkgver-r$pkgrel xfwm4" + cd "$pkgdir" + find -name 'xfwm4' -type d | while read dir; do + mkdir -p "$subpkgdir/${dir%/*}" + mv "$dir" "$subpkgdir/${dir%*}" + done +} + +metacity() { + pkgdesc="BSM Simple GTK Themes - metacity" + install_if="$pkgname=$pkgver-r$pkgrel xfwm4" + cd "$pkgdir" + find -name 'metacity-?' -type d | while read dir; do + mkdir -p "$subpkgdir/${dir%/*}" + mv "$dir" "$subpkgdir/${dir%*}" + done +} + +md5sums="26ba7fd532b8811e77a041ce8bacf79f 121685-BSM%20Simple%2013.tar.gz +397bb9e05136048d64f5c4e629434245 bsm-simple-panel.patch" diff --git a/testing/bsm-simple-themes/bsm-simple-panel.patch b/testing/bsm-simple-themes/bsm-simple-panel.patch new file mode 100644 index 000000000..4376a119a --- /dev/null +++ b/testing/bsm-simple-themes/bsm-simple-panel.patch @@ -0,0 +1,60 @@ +diff --git a/BSM Simple Dark Menu/gtk-2.0/panel.rc b/BSM Simple Dark Menu/gtk-2.0/panel.rc +index f0ab2bf..639754f 100755 +--- a/BSM Simple Dark Menu/gtk-2.0/panel.rc ++++ b/BSM Simple Dark Menu/gtk-2.0/panel.rc +@@ -27,8 +27,8 @@ style "theme-panel" + + style "theme-panel2" = "theme-panel" + { +-xthickness = 0 +-ythickness = 0 ++xthickness = 2 ++ythickness = 1 + engine "clearlooks"{ + radius = 1.1 + } +diff --git a/BSM Simple Dark Panel/gtk-2.0/panel.rc b/BSM Simple Dark Panel/gtk-2.0/panel.rc +index f5dac43..3c16d7a 100755 +--- a/BSM Simple Dark Panel/gtk-2.0/panel.rc ++++ b/BSM Simple Dark Panel/gtk-2.0/panel.rc +@@ -27,8 +27,8 @@ style "theme-panel" + + style "theme-panel2" = "theme-panel" + { +-xthickness = 0 +-ythickness = 0 ++xthickness = 2 ++ythickness = 1 + engine "clearlooks"{ + radius = 1.1 + } +diff --git a/BSM Simple Dark/gtk-2.0/panel.rc b/BSM Simple Dark/gtk-2.0/panel.rc +index 2f6298e..2cc579e 100755 +--- a/BSM Simple Dark/gtk-2.0/panel.rc ++++ b/BSM Simple Dark/gtk-2.0/panel.rc +@@ -22,8 +22,8 @@ style "theme-panel" + + style "theme-panel2" = "theme-panel" + { +-xthickness = 0 +-ythickness = 0 ++xthickness = 2 ++ythickness = 1 + engine "clearlooks"{ + radius = 1.1 + } +diff --git a/BSM Simple/gtk-2.0/panel.rc b/BSM Simple/gtk-2.0/panel.rc +index d2e51f3..72fbeaa 100755 +--- a/BSM Simple/gtk-2.0/panel.rc ++++ b/BSM Simple/gtk-2.0/panel.rc +@@ -14,8 +14,8 @@ style "theme-panel" + + style "theme-panel2" = "theme-panel" + { +-xthickness = 0 +-ythickness = 0 ++xthickness = 2 ++ythickness = 1 + engine "clearlooks"{ + radius = 1.1 + } -- cgit v1.2.3