wok-6.x view ttf-warenhaus-typenhebel/receipt @ rev 19959

slim-theme-control: add compile_rules(); files processing following it.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 20 15:38:00 2017 +0300 (2017-05-20)
parents 15e6c6910ee3
children 669f61f44760
line source
1 # SliTaz package receipt.
3 PACKAGE="ttf-warenhaus-typenhebel"
4 VERSION="0.1"
5 CATEGORY="fonts"
6 SHORT_DESC="This font is an imitation of an old type writer."
7 MAINTAINER="hackdorte@sapo.pt"
8 LICENSE="PublicDomain"
9 SOURCE="warenhaus-typenhebel"
10 WEB_SITE="http://people.slitaz.org/~leonardolaporte"
11 STUFF_DIR="lab.slitaz/5.0/pkg/font/publicdomain"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}/$STUFF_DIR/$TARBALL"
14 TAGS="font ttf"
16 DEPENDS=""
17 BUILD_DEPENDS="wget"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mkdir -p $install/usr/share/fonts/pd/$SOURCE
23 cp -a $src/* $install/usr/share/fonts/pd/$SOURCE
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/* $fs
30 }
32 post_install()
33 {
34 chroot "$1/" /usr/bin/fc-cache
35 }