aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-themes-standard/APKBUILD
blob: a296211a4693ea886c7cb6bbcb6bc3dc6d820c68 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=gnome-themes-standard
pkgver=3.11.5
pkgrel=1
pkgdesc="Default themes for the GNOME desktop"
url="http://www.gnome.org"
arch="all"
license="GPL2"
depends=""
depends_dev="gtk+3.0-dev librsvg-dev"
makedepends="$depends_dev intltool"
install=""
subpackages=""
source="ftp://ftp.gnome.org/pub/GNOME/sources/gnome-themes-standard/3.11/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
	update_config_sub
}

build() {
	cd "$_builddir"
	./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
	rm -f "$pkgdir"/usr/lib/*.la \
		"$pkgdir"/usr/lib/gtk*/*/*/*.la
}

md5sums="60604d55d90e5f34d2743d7a783dedb0  gnome-themes-standard-3.11.5.tar.xz"
sha256sums="e0c9e198387eba17abf62e8bda1a03094ee33ee6db8c77c9fa6a88dae9f7b40a  gnome-themes-standard-3.11.5.tar.xz"
sha512sums="880eb386833a8d64dbf6431b1e7afc8034f8ccc5663bb75bfde1d19bb43fad188fd8157bf0faa65e78b6f9460f71f8541c209d0f80d67b98b03dc7a9e74fec70  gnome-themes-standard-3.11.5.tar.xz"