wok-next view xorg-font-bh-ttf/receipt @ rev 20513

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