aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-15 14:05:25 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-15 14:05:25 +0000
commit48a128796f164b4ba612958484542032789b5969 (patch)
treefb044ebd771a91c459d650922de5ce041a25acc1 /community
parentbe1b98412800f8063bee24a2856e93b1e3ee9619 (diff)
downloadaports-48a128796f164b4ba612958484542032789b5969.tar.gz
aports-48a128796f164b4ba612958484542032789b5969.tar.bz2
aports-48a128796f164b4ba612958484542032789b5969.tar.xz
community/bsm-simple-themes: fix source url and modernize
Diffstat (limited to 'community')
-rw-r--r--community/bsm-simple-themes/APKBUILD34
1 files changed, 6 insertions, 28 deletions
diff --git a/community/bsm-simple-themes/APKBUILD b/community/bsm-simple-themes/APKBUILD
index 3484a73f38..b2ab839e0f 100644
--- a/community/bsm-simple-themes/APKBUILD
+++ b/community/bsm-simple-themes/APKBUILD
@@ -3,44 +3,28 @@
pkgname=bsm-simple-themes
pkgver=1.3
_ver=${pkgver/./}
-pkgrel=2
+pkgrel=3
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
-source="http://distfiles.alpinelinux.org/distfiles/121685-BSM%2520Simple%252013.tar.gz
+source="https://dl.opendesktop.org/api/files/download/id/1464451232/121685-BSM%20Simple%20$_ver.tar.gz
bsm-simple-panel.patch
bsm-simple-xfwm.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"
-}
+builddir="$srcdir"
package() {
- cd "$_builddir"
+ 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
- cp -ra "$i" "$pkgdir"/usr/share/themes/ || return 1
+ cp -ra "$i" "$pkgdir"/usr/share/themes/
done
}
@@ -64,12 +48,6 @@ metacity() {
done
}
-md5sums="26ba7fd532b8811e77a041ce8bacf79f 121685-BSM%2520Simple%252013.tar.gz
-397bb9e05136048d64f5c4e629434245 bsm-simple-panel.patch
-ae6887234cee7e18330f6f2fc79b65be bsm-simple-xfwm.patch"
-sha256sums="c38466dc422ed58518001f4b8f7b5e5adb124e7180e6815604592556d18d2ab0 121685-BSM%2520Simple%252013.tar.gz
-9ea99e560aac8535be06da6d3382101f88652a8e990e38547f96f814118194e3 bsm-simple-panel.patch
-5d7c326267e64bb4f9e15a8c72025543780dd70026c91b54b082d98bfd876a0b bsm-simple-xfwm.patch"
-sha512sums="4254ccdb2869a1caefbac9f9b1bffa6f5bc0a3ba64989d198cd2154d23e5e725dd8f408b17bb37d56eaef6ce74660d29b1167d99b91df7480ddf649957449adb 121685-BSM%2520Simple%252013.tar.gz
+sha512sums="4254ccdb2869a1caefbac9f9b1bffa6f5bc0a3ba64989d198cd2154d23e5e725dd8f408b17bb37d56eaef6ce74660d29b1167d99b91df7480ddf649957449adb 121685-BSM%20Simple%2013.tar.gz
84ad713a7a5850b970a96e97d6c71b81e127a02caead429b71cd50868bfdfce6d327ed113aca40f7a4d4ccfd18f48a84ec27dcbc2af6fe0cbbb47e207ad41e47 bsm-simple-panel.patch
8f015a39d06d6713d75d872fba1139cf734a7ea6af272e198cbc0192148c5eabed3828902a608aa83b2661fc92159057508a9e792f7032680c6f728325b6792f bsm-simple-xfwm.patch"