wok-next annotate xorg-font-bh-ttf/receipt @ rev 20523

libnsgif: add missing stuff
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 23 15:16:45 2018 +0200 (2018-03-23)
parents ea3c4b76ea5d
children 757d032c55c7
rev   line source
al@19805 1 # SliTaz package receipt v2.
al@19649 2
al@19649 3 PACKAGE="xorg-font-bh-ttf"
al@19649 4 VERSION="1.0.3"
al@19649 5 CATEGORY="x-window"
al@19649 6 SHORT_DESC="Bigelow & Holmes Luxi TTF fonts"
al@19649 7 MAINTAINER="al.bobylev@gmail.com"
al@19805 8 LICENSE="MIT"
al@19649 9 WEB_SITE="https://www.x.org/wiki/"
al@20443 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/x7font.html"
al@19649 11
al@19649 12 TARBALL="font-bh-ttf-$VERSION.tar.bz2"
al@19649 13 WGET_URL="$XORG_MIRROR/font/$TARBALL"
al@19649 14
al@19649 15 BUILD_DEPENDS="xorg-util-macros xorg-font-util-dev xorg-mkfontdir \
al@19649 16 fontconfig-dev"
al@19649 17
al@20443 18 compile_rules() {
al@19649 19 ./configure \
al@19649 20 --sysconfdir=/etc \
al@19649 21 --localstatedir=/var \
al@19649 22 $CONFIGURE_ARGS &&
al@19649 23 make &&
al@19649 24 make install
al@19649 25 }
al@19649 26
al@20443 27 genpkg_rules() {
al@19805 28 copy @std
al@19805 29 TAGS="font"
al@19649 30 }
al@19649 31
al@19805 32 post_install() {
al@19805 33 chroot "$1/" fc-cache -r /usr/share/fonts/X11/TTF
al@19805 34 }
al@19805 35 post_remove() {
al@19805 36 chroot "$1/" fc-cache -r
al@19805 37 }