aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-06-05 19:11:55 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-06-05 19:11:55 +0000
commit11739ca1ade7515136b6701ce6a155db462e258e (patch)
tree78efb922e5ef8fd72b247ace886ea8f6a9c548e6 /testing
parentf12a040e7dd2e2bb706fb1ea523000acdeb08d71 (diff)
downloadaports-11739ca1ade7515136b6701ce6a155db462e258e.tar.bz2
aports-11739ca1ade7515136b6701ce6a155db462e258e.tar.xz
testing/gnome-themes-standard: move from unmaintained, upgrade to 3.22.3, claim maintainership
Diffstat (limited to 'testing')
-rw-r--r--testing/gnome-themes-standard/APKBUILD59
1 files changed, 59 insertions, 0 deletions
diff --git a/testing/gnome-themes-standard/APKBUILD b/testing/gnome-themes-standard/APKBUILD
new file mode 100644
index 0000000000..dc8fa0ba27
--- /dev/null
+++ b/testing/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"