summaryrefslogtreecommitdiffstats
path: root/main/icon-naming-utils/APKBUILD
blob: 507950bca151fa913381600d0e9913a1a76ec85b (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=icon-naming-utils
pkgver=0.8.90
pkgrel=0
pkgdesc="Maps the new names of icons for Tango to the legacy names used by the GNOME and KDE desktops."
url="http://tango.freedesktop.org/"
arch="all"
license="GPL"
depends="perl-xml-simple"
makedepends=""
source="http://tango.freedesktop.org/releases/$pkgname-$pkgver.tar.bz2"

build ()
{
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/icon-naming-utils \
		--localstatedir=/var || return 1
	make || return 1
	make DESTDIR="$pkgdir" install || return 1
	mv "$pkgdir"/usr/share/pkgconfig "$pkgdir"/usr/lib/pkgconfig || return 1
	chmod +x "$pkgdir"/usr/lib/icon-naming-utils/icon-name-mapping
}

md5sums="dd8108b56130b9eedc4042df634efa66  icon-naming-utils-0.8.90.tar.bz2"