wok annotate otf-transcends-games/receipt @ rev 19065
Take care on root in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 21 09:45:48 2016 +0200 (2016-04-21) |
parents | 2dae4cf061dd |
children | d1570adae0ba |
rev | line source |
---|---|
hackdorte@19061 | 1 # SliTaz package receipt. |
hackdorte@19061 | 2 |
hackdorte@19061 | 3 PACKAGE="otf-transcends-games" |
hackdorte@19061 | 4 VERSION="0.1" |
hackdorte@19061 | 5 CATEGORY="x-window" |
hackdorte@19061 | 6 SHORT_DESC="Transcends Games is a font with retro-futuristic style." |
hackdorte@19061 | 7 MAINTAINER="hackdorte@sapo.pt" |
hackdorte@19061 | 8 LICENSE="PublicDomain" |
hackdorte@19061 | 9 SOURCE="transcends-games" |
hackdorte@19061 | 10 WEB_SITE="http://people.slitaz.org/~leonardolaporte" |
hackdorte@19061 | 11 STUFF_DIR="lab.slitaz/5.0/pkg/font/publicdomain" |
hackdorte@19061 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
hackdorte@19061 | 13 WGET_URL="${WEB_SITE}/$STUFF_DIR/$TARBALL" |
hackdorte@19062 | 14 TAGS="font otf" |
hackdorte@19061 | 15 |
hackdorte@19061 | 16 DEPENDS="" |
hackdorte@19061 | 17 BUILD_DEPENDS="wget" |
hackdorte@19061 | 18 |
hackdorte@19061 | 19 # Rules to configure and make the package. |
hackdorte@19061 | 20 compile_rules() |
hackdorte@19061 | 21 { |
hackdorte@19061 | 22 mkdir -p $install/usr/share/fonts/pd/$SOURCE |
hackdorte@19061 | 23 cp -a $src/* $install/usr/share/fonts/pd/$SOURCE |
hackdorte@19061 | 24 } |
hackdorte@19061 | 25 |
hackdorte@19061 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
hackdorte@19061 | 27 genpkg_rules() |
hackdorte@19061 | 28 { |
hackdorte@19061 | 29 cp -a $install/* $fs |
hackdorte@19061 | 30 } |
hackdorte@19061 | 31 |
hackdorte@19061 | 32 post_install() |
hackdorte@19061 | 33 { |
pascal@19065 | 34 chroot "$1/" /usr/bin/fc-cache |
hackdorte@19061 | 35 } |