blob: 48914bf5e6ebbc0ff343fa01d7e55c71c17cac58 (
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
|
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=adwaita-icon-theme
pkgver=3.16.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/${pkgver%.*}/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 DATADIRNAME=share || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install pkgconfigdir=/usr/lib/pkgconfig\
DATADIRNAME=share \
|| return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="cd4bdd988fe15ec31796950c690b8d27 adwaita-icon-theme-3.16.0.tar.xz"
sha256sums="a3c8ad3b099ca571b423811a20ee9a7a43498cfa04d299719ee43cd7af6f6eb1 adwaita-icon-theme-3.16.0.tar.xz"
sha512sums="5c74e14d56101cdd281191caba928016a5d62e1f554d5da95a84349ac4ab85f7cb76cc658f05bd70e4891d68b3a98ab5b157bc85e5918ceecf3f2f653784c815 adwaita-icon-theme-3.16.0.tar.xz"
|