aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/lxde-icon-theme/APKBUILD
blob: 4dce079a5700ced731df62ca758903a86280b285 (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
# Contributor:
# Maintainer:
pkgname=lxde-icon-theme
pkgver=0.5.0
pkgrel=0
pkgdesc="LXDE default icon theme based on nuoveXT2"
url="http://lxde.org"
arch="noarch"
license="GPL"
depends="gtk+2.0 gtk+3.0"
depends_dev="gtk+2.0-dev gtk+3.0-dev"
makedepends="$depends_dev coreutils"
install=""
subpackages=""
source="http://downloads.sourceforge.net/lxde/${pkgname}-${pkgver}.tar.bz2"

_builddir="$srcdir"/${pkgname}-${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"
	./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
}

md5sums="346e1aecf805892b106b4d4b0f26e5cc  lxde-icon-theme-0.5.0.tar.bz2"
sha256sums="49dc61c46c4a0ca9298f9e0866bcf7212a08ddaa71f15bfabfb0220fe1efa848  lxde-icon-theme-0.5.0.tar.bz2"
sha512sums="4ca3e94b5826f7fe87d840feddf0c130fa77e8f14f22a59d9749252a5106d54661237e3c9286f4880d0aaa50bd330cb4bfb9d663ca35d6ee4b9e3c2af30fe9ab  lxde-icon-theme-0.5.0.tar.bz2"