wok-current annotate ttf-warenhaus-typenhebel/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 bbfe517fab08
children d1570adae0ba
rev   line source
hackdorte@19064 1 # SliTaz package receipt.
hackdorte@19064 2
hackdorte@19064 3 PACKAGE="ttf-warenhaus-typenhebel"
hackdorte@19064 4 VERSION="0.1"
hackdorte@19064 5 CATEGORY="x-window"
hackdorte@19064 6 SHORT_DESC="This font is an imitation of an old type writer."
hackdorte@19064 7 MAINTAINER="hackdorte@sapo.pt"
hackdorte@19064 8 LICENSE="PublicDomain"
hackdorte@19064 9 SOURCE="warenhaus-typenhebel"
hackdorte@19064 10 WEB_SITE="http://people.slitaz.org/~leonardolaporte"
hackdorte@19064 11 STUFF_DIR="lab.slitaz/5.0/pkg/font/publicdomain"
hackdorte@19064 12 TARBALL="$SOURCE-$VERSION.tar.gz"
hackdorte@19064 13 WGET_URL="${WEB_SITE}/$STUFF_DIR/$TARBALL"
hackdorte@19064 14 TAGS="font ttf"
hackdorte@19064 15
hackdorte@19064 16 DEPENDS=""
hackdorte@19064 17 BUILD_DEPENDS="wget"
hackdorte@19064 18
hackdorte@19064 19 # Rules to configure and make the package.
hackdorte@19064 20 compile_rules()
hackdorte@19064 21 {
hackdorte@19064 22 mkdir -p $install/usr/share/fonts/pd/$SOURCE
hackdorte@19064 23 cp -a $src/* $install/usr/share/fonts/pd/$SOURCE
hackdorte@19064 24 }
hackdorte@19064 25
hackdorte@19064 26 # Rules to gen a SliTaz package suitable for Tazpkg.
hackdorte@19064 27 genpkg_rules()
hackdorte@19064 28 {
hackdorte@19064 29 cp -a $install/* $fs
hackdorte@19064 30 }
hackdorte@19064 31
hackdorte@19064 32 post_install()
hackdorte@19064 33 {
pascal@19065 34 chroot "$1/" /usr/bin/fc-cache
hackdorte@19064 35 }