wok-next annotate xorg-font-xfree86-type1/receipt @ rev 20978
Small improvements
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Sep 27 01:34:11 2018 +0300 (2018-09-27) |
parents | 757d032c55c7 |
children | f48456621a9d |
rev | line source |
---|---|
al@19805 | 1 # SliTaz package receipt v2. |
al@19650 | 2 |
al@19650 | 3 PACKAGE="xorg-font-xfree86-type1" |
al@19650 | 4 VERSION="1.0.4" |
al@19650 | 5 CATEGORY="x-window" |
al@19650 | 6 SHORT_DESC="Xfree86 Type1 Cursor font" |
al@19650 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19805 | 8 LICENSE="MIT" |
al@19650 | 9 WEB_SITE="https://www.x.org/wiki/" |
al@20443 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/x7font.html" |
al@20953 | 11 REPOLOGY="fonts:xfree86-type1" |
al@19650 | 12 |
al@19650 | 13 TARBALL="font-xfree86-type1-$VERSION.tar.bz2" |
al@19650 | 14 WGET_URL="$XORG_MIRROR/font/$TARBALL" |
al@19650 | 15 |
al@19650 | 16 BUILD_DEPENDS="xorg-util-macros xorg-font-util-dev xorg-mkfontdir" |
al@19650 | 17 |
al@20443 | 18 compile_rules() { |
al@20534 | 19 ./configure $CONFIGURE_ARGS && |
al@19650 | 20 make && |
al@19650 | 21 make install |
al@19650 | 22 } |
al@19650 | 23 |
al@20443 | 24 genpkg_rules() { |
al@19805 | 25 copy @std |
al@19805 | 26 TAGS="font" |
al@19650 | 27 } |
al@19650 | 28 |
al@19805 | 29 post_install() { |
al@19805 | 30 chroot "$1/" fc-cache -r /usr/share/fonts/X11/Type1 |
al@19805 | 31 } |
al@19805 | 32 post_remove() { |
al@19805 | 33 chroot "$1/" fc-cache -r |
al@19805 | 34 } |