wok-next annotate xorg-font-adobe-utopia-type1/receipt @ rev 20748
Update (b)deps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed May 30 20:13:48 2018 +0300 (2018-05-30) |
parents | 0e7893ac206d |
children | 02b674913611 |
rev | line source |
---|---|
al@19805 | 1 # SliTaz package receipt v2. |
al@19649 | 2 |
al@19649 | 3 PACKAGE="xorg-font-adobe-utopia-type1" |
al@19649 | 4 VERSION="1.0.4" |
al@19649 | 5 CATEGORY="x-window" |
al@19649 | 6 SHORT_DESC="Adobe Type 1 font Utopia" |
al@19649 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19649 | 8 LICENSE="other" |
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-adobe-utopia-type1-$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 |
al@20443 | 17 compile_rules() { |
al@20534 | 18 ./configure $CONFIGURE_ARGS && |
al@19649 | 19 make && |
al@19649 | 20 make install |
al@19649 | 21 } |
al@19649 | 22 |
al@20443 | 23 genpkg_rules() { |
al@19805 | 24 copy @std |
al@19805 | 25 TAGS="font" |
al@19649 | 26 } |
al@19649 | 27 |
al@19805 | 28 post_install() { |
al@19805 | 29 chroot "$1/" fc-cache -r /usr/share/fonts/X11/Type1 |
al@19805 | 30 } |
al@19805 | 31 post_remove() { |
al@19805 | 32 chroot "$1/" fc-cache -r |
al@19805 | 33 } |