aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-themes-standard
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-06-05 19:25:52 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-06-05 19:25:52 +0000
commitfc42530c6de02e10ace123390bf4f3113985ff35 (patch)
tree59ce70b74b96fc63b874345c4cb5d526a13e780e /community/gnome-themes-standard
parent11739ca1ade7515136b6701ce6a155db462e258e (diff)
downloadaports-fc42530c6de02e10ace123390bf4f3113985ff35.tar.bz2
aports-fc42530c6de02e10ace123390bf4f3113985ff35.tar.xz
community/gnome-themes-standard: move from testing
Diffstat (limited to 'community/gnome-themes-standard')
-rw-r--r--community/gnome-themes-standard/APKBUILD59
1 files changed, 59 insertions, 0 deletions
diff --git a/community/gnome-themes-standard/APKBUILD b/community/gnome-themes-standard/APKBUILD
new file mode 100644
index 0000000000..dc8fa0ba27
--- /dev/null
+++ b/community/gnome-themes-standard/APKBUILD
@@ -0,0 +1,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="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
+}
+
+sha512sums="aa2f3ad4d867732cd09df6adb4f48ed2757e3f28930ef791ba97a82007332c810d84dd1074ca518ec0fe71bd7d8b95404854bd799e3b1fe616e1809e8ee33501 gnome-themes-standard-3.22.3.tar.xz"