blob: ce1da2a9555905d6f119d778ca7c465de18ed539 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=albatross-themes
pkgver=1.7.4
pkgrel=1
pkgdesc="A clean minimalistic theme for Xfce, GTK 2 and 3"
url="https://github.com/shimmerproject/Albatross"
arch="noarch"
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
build() {
# Remove Unity theme
rm -f gtk-3.0/apps/unity.css
sed -i '/unity\.css/d' gtk-3.0/gtk.css
}
package() {
mkdir -p "$pkgdir"/usr/share/themes/Albatross
cp -pr * "$pkgdir"/usr/share/themes/Albatross
}
_mv() {
pkgdesc="$1"
install_if="$pkgname=$pkgver-r$pkgrel $2";
depends=
local _i
shift; shift
mkdir -p "$subpkgdir"/usr/share/themes/Albatross
for _i; do
msg "moving $_i"
mv "$pkgdir"/usr/share/themes/Albatross/$_i \
"$subpkgdir"/usr/share/themes/Albatross
done
}
gtk2() {
_mv "Albatross GTK2 themes" gtk2.0 gtk-2.0
depends="gtk-murrine-engine"
}
gtk3() { _mv "Albatross GTK3 themes" gtk3.0 gtk-3.0; }
metacity() { _mv "Albatross Metacity themes" metacity metacity-1; }
xfwm4() { _mv "Albatross Xfce4 themes" xfwm4 xfwm4; }
md5sums="66e7dcf8efe689d9f40ac53b5fb245f6 albatross-1.7.4.tar.gz"
sha256sums="ff40e28e164cb99f01b131ae3e79a07782e29a720535460e901ce305fa322ae1 albatross-1.7.4.tar.gz"
sha512sums="3ec30f6c654e7e5ccc49cd7116c308329c5a4bd9027c90f6545ca73d4734e1339d1c79c0cb2a7489bb701ccb0623e6a0e72f22bd4c923bb32a75dd4f4337fcfd albatross-1.7.4.tar.gz"
|