blob: c16541258c53c5050c769e8fdafd25021dbca804 (
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
60
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnome-themes-standard
pkgver=3.16.2
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="http://ftp.gnome.org/pub/GNOME/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
}
md5sums="0d80ad7786cfd498c966361ba2e790c7 gnome-themes-standard-3.16.2.tar.xz"
sha256sums="59eb79a59d44b5cd8daa8de1e7559fb5186503dcd78e47d0b72cb896d8654b9f gnome-themes-standard-3.16.2.tar.xz"
sha512sums="483e63e1f01d6a0c26a07def12f19d59406a2f89202db599876cff8542215b4d5eb8a054805eb16a4e027c76399f4bb498ed326e136ecf482c71f5a0b8cb5556 gnome-themes-standard-3.16.2.tar.xz"
|