envypn-font: new package added
This commit is contained in:
parent
e4aa587d5c
commit
bcfd0135bf
2 changed files with 36 additions and 0 deletions
8
srcpkgs/envypn-font/INSTALL
Normal file
8
srcpkgs/envypn-font/INSTALL
Normal file
|
@ -0,0 +1,8 @@
|
|||
case "${ACTION}" in
|
||||
post)
|
||||
echo -n "Updating font cache... "
|
||||
fc-cache usr/share/fonts/envypn
|
||||
mkfontdir usr/share/fonts/envypn
|
||||
echo "You may take a look at the README (located to /usr/share/doc/envypn/)"
|
||||
;;
|
||||
esac
|
28
srcpkgs/envypn-font/template
Normal file
28
srcpkgs/envypn-font/template
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Template file for 'envypn-font'
|
||||
pkgname=envypn-font
|
||||
version=1.5.1
|
||||
revision=1
|
||||
short_desc="Readable terminal font inspired by Envy Code R"
|
||||
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||||
homepage="http://tetedulinuxien.fr/"
|
||||
license="GPL+FE"
|
||||
disfiles="http://linuxien.legtux.org/projects/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
checksum=bfc4bcaa932da92253ba4159b6a440c1dbd92184d199f1439d177c970b96d60b
|
||||
|
||||
do_install() {
|
||||
vmkdir usr/share/fonts/envypn
|
||||
install -m644 *.pcf ${DESTDIR}/usr/share/fonts/envypn
|
||||
|
||||
vinstall fonts.alias 644 usr/share/fonts/envypn
|
||||
vinstall LICENSE 644 usr/share/licenses/envypn
|
||||
vinstall README 644 usr/share/doc/envypn
|
||||
}
|
||||
|
||||
envypn-font_package() {
|
||||
depends="font-util mkfontdir"
|
||||
noarch="yes"
|
||||
font_dirs="/usr/share/fonts/envypn"
|
||||
pkg_install() {
|
||||
vmove usr
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue