aboutsummaryrefslogtreecommitdiffstats
path: root/community/yelp-xsl/APKBUILD
blob: 9d0364fcaf3e81a3178be8ef6ca192f125e55453 (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
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=yelp-xsl
pkgver=3.32.1
pkgrel=1
pkgdesc="XSL stylesheets for the yelp help browser"
url="https://wiki.gnome.org/Apps/Yelp"
arch="noarch"
license="GPL-2.0-or-later LGPL-2.1-or-later MIT"
makedepends="intltool libxslt itstool"
source="https://download.gnome.org/sources/yelp-xsl/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
	mkdir -p "$pkgdir"/usr/lib
	mv "$pkgdir"/usr/share/pkgconfig "$pkgdir"/usr/lib
}

sha512sums="05a03e045c8278faaf39604d6cbccb449130d2c85e3231c8c9737e344fc249cd2949011fb1a0e4fb6085dc21374e7804fc7fa4161f51607d93b301cbcf5453be  yelp-xsl-3.32.1.tar.xz"