blob: 78a35086984fd8eae5d9d6a8ade6e2a63411144e (
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
51
52
53
54
55
56
57
58
59
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=gnome-themes-standard
pkgver=3.22.3
pkgrel=0
pkgdesc="Default themes for the GNOME desktop"
url="http://www.gnome.org"
arch="all"
license="GPL2"
depends="adwaita-gtk2-theme"
depends_dev="gtk+3.0-dev librsvg-dev"
makedepends="$depends_dev intltool"
install=""
subpackages="$pkgname-lang adwaita-gtk2-theme:_gtk2"
source="https://download.gnome.org/sources/gnome-themes-standard/${pkgver%.*}/gnome-themes-standard-$pkgver.tar.xz"
_builddir="$srcdir"/gnome-themes-standard-$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
}
build() {
cd "$_builddir"
DATADIRNAME=share \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
_gtk2() {
pkgdesc="Adwaita gtk2 theme"
depends=""
mkdir -p "$subpkgdir"/usr/share/themes/Adwaita \
"$subpkgdir"/usr/lib
mv "$pkgdir"/usr/share/themes/Adwaita/gtk-2.0 \
"$subpkgdir"/usr/share/themes/Adwaita || return 1
mv "$pkgdir"/usr/lib/gtk-2.0 "$subpkgdir"/usr/lib || return 1
}
sha512sums="aa2f3ad4d867732cd09df6adb4f48ed2757e3f28930ef791ba97a82007332c810d84dd1074ca518ec0fe71bd7d8b95404854bd799e3b1fe616e1809e8ee33501 gnome-themes-standard-3.22.3.tar.xz"
|