aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/albatross-themes/APKBUILD22
1 files changed, 5 insertions, 17 deletions
diff --git a/community/albatross-themes/APKBUILD b/community/albatross-themes/APKBUILD
index d597e2ce13..ce1da2a955 100644
--- a/community/albatross-themes/APKBUILD
+++ b/community/albatross-themes/APKBUILD
@@ -1,35 +1,23 @@
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=albatross-themes
pkgver=1.7.4
-pkgrel=0
+pkgrel=1
pkgdesc="A clean minimalistic theme for Xfce, GTK 2 and 3"
-url="http://shimmerproject.org/project/albatross/"
+url="https://github.com/shimmerproject/Albatross"
arch="noarch"
-license="GPL-2.0 or CC-BY-SA"
-makedepends="$depends_dev"
+license="GPL-2.0-or-later OR CC-BY-SA-3.0"
subpackages="$pkgname-gtk2 $pkgname-gtk3 $pkgname-metacity $pkgname-xfwm4"
source="albatross-$pkgver.tar.gz::https://github.com/shimmerproject/Albatross/archive/v$pkgver.tar.gz"
-_builddir="$srcdir"/Albatross-$pkgver
-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
-}
+builddir="$srcdir"/Albatross-$pkgver
build() {
- cd "$_builddir"
# Remove Unity theme
rm -f gtk-3.0/apps/unity.css
sed -i '/unity\.css/d' gtk-3.0/gtk.css
}
package() {
- cd "$_builddir"
mkdir -p "$pkgdir"/usr/share/themes/Albatross
cp -pr * "$pkgdir"/usr/share/themes/Albatross
}
@@ -44,7 +32,7 @@ _mv() {
for _i; do
msg "moving $_i"
mv "$pkgdir"/usr/share/themes/Albatross/$_i \
- "$subpkgdir"/usr/share/themes/Albatross || return 1
+ "$subpkgdir"/usr/share/themes/Albatross
done
}