ttf-dugfont-0.1-1

package created and published
This commit is contained in:
Jaroslav Lichtblau 2014-12-15 15:13:21 +01:00
commit 0068711027
3 changed files with 49 additions and 0 deletions

15
.SRCINFO Normal file
View file

@ -0,0 +1,15 @@
pkgbase = ttf-dugfont
pkgdesc = Neverhood game font
pkgver = 0.1
pkgrel = 1
url = http://neverhood.etomite.cz/download.htm
install = ttf-dugfont.install
arch = any
license = unknown
depends = fontconfig
depends = xorg-fonts-encodings
source = http://neverhood.etomite.cz/files/dugfont.ttf.zip
md5sums = e04e6dbacb19125199be9c7ac9a71937
pkgname = ttf-dugfont

19
PKGBUILD Normal file
View file

@ -0,0 +1,19 @@
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgname=ttf-dugfont
pkgver=0.1
pkgrel=1
pkgdesc="Neverhood game font"
arch=('any')
url="http://neverhood.etomite.cz/download.htm"
license=('unknown')
depends=('fontconfig' 'xorg-fonts-encodings')
install=$pkgname.install
source=(http://neverhood.etomite.cz/files/dugfont.ttf.zip)
md5sums=('e04e6dbacb19125199be9c7ac9a71937')
package() {
cd "${srcdir}"
install -Dm644 dugfont.ttf "${pkgdir}"/usr/share/fonts/TTF/dugfont.ttf
}

15
ttf-dugfont.install Normal file
View file

@ -0,0 +1,15 @@
post_install() {
echo -n "Updating font cache... "
fc-cache -f > /dev/null
mkfontscale /usr/share/fonts/TTF
mkfontdir /usr/share/fonts/TTF
echo "done."
}
post_upgrade() {
post_install $1
}
post_remove() {
post_install $1
}