diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-02-07 08:51:39 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-02-07 08:51:39 +0000 |
commit | 79f1ebc65eae4d9fd12fc13c16717c2be5cabf95 (patch) | |
tree | 12884e117001d29d743a5ccedbe7b8f7437732a7 /testing | |
parent | 379bf0646d3ecb24b36a5b6890d7a8057b9c7ded (diff) | |
download | aports-79f1ebc65eae4d9fd12fc13c16717c2be5cabf95.tar.bz2 aports-79f1ebc65eae4d9fd12fc13c16717c2be5cabf95.tar.xz |
testing/bsm-simple-themes: fix permissions, fix dep for metacity
Diffstat (limited to 'testing')
-rw-r--r-- | testing/bsm-simple-themes/APKBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/testing/bsm-simple-themes/APKBUILD b/testing/bsm-simple-themes/APKBUILD index 67c7aa2238..d9bb90ea62 100644 --- a/testing/bsm-simple-themes/APKBUILD +++ b/testing/bsm-simple-themes/APKBUILD @@ -3,7 +3,7 @@ pkgname=bsm-simple-themes pkgver=1.3 _ver=${pkgver/./} -pkgrel=0 +pkgrel=1 pkgdesc="BSM Simple GTK Themes" url="http://gnome-look.org/content/show.php/?content=121685" arch="noarch" @@ -32,6 +32,9 @@ build() { package() { cd "$_builddir" + # fix permissions + find . -type d -exec chmod 755 '{}' \; + find . -type f -exec chmod 644 '{}' \; mkdir -p "$pkgdir"/usr/share/themes for i in *; do [ -L "$i" ] && continue @@ -51,7 +54,7 @@ xfwm4() { metacity() { pkgdesc="BSM Simple GTK Themes - metacity" - install_if="$pkgname=$pkgver-r$pkgrel xfwm4" + install_if="$pkgname=$pkgver-r$pkgrel metacity" cd "$pkgdir" find -name 'metacity-?' -type d | while read dir; do mkdir -p "$subpkgdir/${dir%/*}" |