wok-next diff cantarell-fonts/receipt @ rev 20956

Random updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Sep 05 00:08:37 2018 +0300 (2018-09-05)
parents d958fec46c9f
children 33dc3c330cc7
line diff
     1.1 --- a/cantarell-fonts/receipt	Tue Jul 10 20:08:05 2018 +0300
     1.2 +++ b/cantarell-fonts/receipt	Wed Sep 05 00:08:37 2018 +0300
     1.3 @@ -1,31 +1,30 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="cantarell-fonts"
     1.7 -VERSION="0.0.25"
     1.8 +VERSION="0.101"
     1.9  CATEGORY="fonts"
    1.10  SHORT_DESC="Sans serif font family designed for on-screen readability"
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12  LICENSE="SIL_OFL"
    1.13  WEB_SITE="https://wiki.gnome.org/Projects/CantarellFonts"
    1.14 +HOST_ARCH="any"
    1.15  REPOLOGY="fonts:cantarell"
    1.16  
    1.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.18 -WGET_URL="$GNOME_MIRROR/cantarell-fonts/${VERSION%.*}/$TARBALL"
    1.19 +WGET_URL="$GNOME_MIRROR/cantarell-fonts/$VERSION/$TARBALL"
    1.20  
    1.21 -# Rules to configure and make the package.
    1.22 -compile_rules()
    1.23 -{
    1.24 -	./configure \
    1.25 -		--with-configdir=/etc/fonts/conf.avail \
    1.26 -		--with-fontdir=/usr/share/fonts/truetype/cantarell \
    1.27 -		$CONFIGURE_ARGS &&
    1.28 -	make &&
    1.29 -	make install
    1.30 +BUILD_DEPENDS="meson ninja gettext itstool appstream-glib-dev"
    1.31 +
    1.32 +compile_rules() {
    1.33 +	mkdir build
    1.34 +	cd    build
    1.35 +
    1.36 +	meson-wrapper &&
    1.37 +	ninja &&
    1.38 +	ninja install
    1.39  }
    1.40  
    1.41 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.42 -genpkg_rules()
    1.43 -{
    1.44 +genpkg_rules() {
    1.45  	copy @std
    1.46  	DEPENDS="fontconfig"
    1.47  	TAGS="font"