aboutsummaryrefslogtreecommitdiffstats
path: root/main/adwaita-icon-theme/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/adwaita-icon-theme/APKBUILD')
-rw-r--r--main/adwaita-icon-theme/APKBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/main/adwaita-icon-theme/APKBUILD b/main/adwaita-icon-theme/APKBUILD
new file mode 100644
index 0000000000..b44fb529bd
--- /dev/null
+++ b/main/adwaita-icon-theme/APKBUILD
@@ -0,0 +1,51 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=adwaita-icon-theme
+pkgver=3.14.0
+pkgrel=0
+pkgdesc="Adwaita icon theme"
+url="http://www.gnome.org"
+arch="noarch"
+license="LGPLv3+ or CC-BY-SA"
+depends=""
+depends_dev=""
+makedepends="$depends_dev intltool gtk+2.0 gtk+3.0 librsvg"
+install=""
+subpackages="$pkgname-dev $pkgname-lang"
+source="http://download.gnome.org/sources/adwaita-icon-theme/3.14/adwaita-icon-theme-$pkgver.tar.xz"
+
+_builddir="$srcdir"/adwaita-icon-theme-$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 pkgconfigdir=/usr/lib/pkgconfig\
+ || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+md5sums="75ed0541d5939c415cb2e0e2010f639f adwaita-icon-theme-3.14.0.tar.xz"
+sha256sums="afacb6025a18be007e33a9663b92cee9d2745279bb00107a68e09b2806f9541f adwaita-icon-theme-3.14.0.tar.xz"
+sha512sums="f90bbf94af330037aa53c081b60f18fe0a17eb62f4a2ec65582e5b712f71f1c1d91510a5db2a0d5a5fffb5dcc71b079929e7062b15f216fcd16d4d3a1ccdc1f4 adwaita-icon-theme-3.14.0.tar.xz"