yelp-xsl: Update to 49.0; port to meson (#5680)
This commit is contained in:
parent
283f6b5112
commit
fbdc228710
@ -1,46 +1,35 @@
|
|||||||
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
|
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
|
||||||
|
|
||||||
pkgname=yelp-xsl
|
pkgname=yelp-xsl
|
||||||
pkgver=42.1
|
pkgver=49.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Stylesheets for Yelp"
|
pkgdesc="Stylesheets for Yelp"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
license=('GPL')
|
license=('spdx:GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT')
|
||||||
url="https://www.gnome.org"
|
url="https://gitlab.gnome.org/GNOME/yelp-xsl"
|
||||||
msys2_references=(
|
msys2_references=(
|
||||||
"anitya: 13164"
|
"anitya: 13164"
|
||||||
)
|
)
|
||||||
options=('strip' '!libtool' 'staticlibs')
|
makedepends=(
|
||||||
makedepends=("libxml2-python" "intltool" "itstool" 'autotools' 'gettext-devel' 'gcc')
|
"itstool"
|
||||||
|
"meson"
|
||||||
|
"libxslt"
|
||||||
|
)
|
||||||
source=(https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
|
source=(https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
|
||||||
sha256sums=('238be150b1653080ce139971330fd36d3a26595e0d6a040a2c030bf3d2005bcd')
|
sha256sums=('59d43a8f8fe67b784f14f9a04dd4a7a092a7f4a64a65e71b90fe02a47a50fbec')
|
||||||
|
|
||||||
prepare() {
|
|
||||||
cd ${srcdir}/${pkgname}-${pkgver}
|
|
||||||
autoreconf -ivf
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
mkdir -p ${srcdir}/build-${CHOST} && cd ${srcdir}/build-${CHOST}
|
mkdir -p "build-${CHOST}"
|
||||||
|
cd "build-${CHOST}"
|
||||||
|
|
||||||
${srcdir}/${pkgname}-${pkgver}/configure \
|
meson setup "${srcdir}/${pkgname}-${pkgver}" . \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--build=${CHOST} \
|
--buildtype=release
|
||||||
--host=${CHOST} \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--localstatedir=/var
|
|
||||||
|
|
||||||
make
|
meson compile -C .
|
||||||
}
|
|
||||||
|
|
||||||
check() {
|
|
||||||
cd ${srcdir}/build-${CHOST}
|
|
||||||
make -k check
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd ${srcdir}/build-${CHOST}
|
cd "build-${CHOST}"
|
||||||
make DESTDIR="${pkgdir}" install
|
DESTDIR="${pkgdir}" meson install
|
||||||
mkdir -p ${pkgdir}/usr/lib
|
|
||||||
mv ${pkgdir}/usr/share/pkgconfig ${pkgdir}/usr/lib/
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user