blob: 00bff5bea86a8f1edcd3be89f1f48c89c86589e8 (
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
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=yelp-xsl
pkgver=3.36.0
pkgrel=0
pkgdesc="XSL stylesheets for the yelp help browser"
url="https://wiki.gnome.org/Apps/Yelp"
arch="noarch"
license="GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT"
makedepends="intltool libxslt itstool"
options="!check" # no tests
source="https://download.gnome.org/sources/yelp-xsl/${pkgver%.*}/yelp-xsl-$pkgver.tar.xz"
prepare() {
sed 's|/usr/bin/sh|/bin/sh|' -i install-sh
}
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="50544ae434a93cf37779db3be4e2b8d4eebd3575e9d31d3db8426f686ae262f4655d8d4b957e673daba4314d8e1c4c7a5e6485ca17b6627424b18087acd74a12 yelp-xsl-3.36.0.tar.xz"
|