aboutsummaryrefslogtreecommitdiffstats
path: root/testing/arc-theme
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2015-06-04 12:28:51 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2015-06-04 12:28:56 +0200
commit5e7092ee6133bc0f600e025990f84c62bf66f5c0 (patch)
tree7d3713d03d8bd114723700952436aa015da507ac /testing/arc-theme
parentba32964860ddb67a6b539cc2e604208456118370 (diff)
downloadaports-5e7092ee6133bc0f600e025990f84c62bf66f5c0.tar.bz2
aports-5e7092ee6133bc0f600e025990f84c62bf66f5c0.tar.xz
testing/arc-theme: new aport
Diffstat (limited to 'testing/arc-theme')
-rw-r--r--testing/arc-theme/APKBUILD69
1 files changed, 69 insertions, 0 deletions
diff --git a/testing/arc-theme/APKBUILD b/testing/arc-theme/APKBUILD
new file mode 100644
index 0000000000..02fbeb6001
--- /dev/null
+++ b/testing/arc-theme/APKBUILD
@@ -0,0 +1,69 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=arc-theme
+_project="horst3180/Arc-theme"
+_sha=5955dfd4603983c7dfffa6e903bf3220df60c03e
+pkgver=20150603
+pkgrel=0
+pkgdesc="A flat theme with transparent elements"
+url="https://github.com/horst3180/Arc-theme"
+arch="noarch"
+license="GPL"
+depends="gtk-murrine-engine"
+depends_dev=""
+makedepends="$depends_dev automake autoconf libtool coreutils"
+install=""
+subpackages="$pkgname-gtk2 $pkgname-gtk3"
+source="$pkgname-$_sha.tar.gz::https://github.com/$_project/archive/$_sha.tar.gz"
+
+_builddir="$srcdir"/${_project#*/}-$_sha
+
+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"
+ ./autogen.sh || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --disable-unity \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
+gtk2() {
+ pkgdesc="A GTK2 flat theme with transparent elements"
+ mkdir -p "$subpkgdir"/usr/share/themes/Arc
+ mv "$pkgdir"/usr/share/themes/Arc/gtk-2.0 \
+ "$subpkgdir"/usr/share/themes/Arc/ || return 1
+}
+
+gtk3() {
+ pkgdesc="A GTK3 flat theme with transparent elements"
+ mkdir -p "$subpkgdir"/usr/share/themes/Arc
+ mv "$pkgdir"/usr/share/themes/Arc/gtk-3.0 \
+ "$subpkgdir"/usr/share/themes/Arc/ || return 1
+}
+
+md5sums="c0074f11844b2aeabba1f85b5c069c35 arc-theme-5955dfd4603983c7dfffa6e903bf3220df60c03e.tar.gz"
+sha256sums="1b62ee973f0b351a7c6ea76bf11c7758deeb89a0c46ce3bfcff63376b4d8ee66 arc-theme-5955dfd4603983c7dfffa6e903bf3220df60c03e.tar.gz"
+sha512sums="8462c23e53ad951207b8f6a145dfd9cacc0a3963df5d89a1d1a97de9c01f1872febf2ebf91048c966115b66fcc6b4ef842b9e6c1a6c1113878e39e2f492643b2 arc-theme-5955dfd4603983c7dfffa6e903bf3220df60c03e.tar.gz"