blob: 02fbeb6001ee1125e5dfee612c5e7d144a91066e (
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
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"
|