### this file is sourced not run
PKGVER=2.x
PKGBUILD=1
PKGARCH=noarch

# source: james
TARBALL=profontiix.zip
MD5SUM=47952638083c51c512cbf098e75ad4bd
SRC_URL="http://tobiasjung.name/downloadfile.php?file=profontiix.zip"
BUNDLE=

X11_FONT_PATH=/usr/share/fonts/X11/TTF

SLACKREQ=
SLACKDESC="font-profont: font-profont $PKGVER (Programming Monospaced Font)
font-profont: 
font-profont: ProFont is a monospaced font created to be a most readable font for 
font-profont: programming. Thus, it has slashed zeros; distinct forms of I, l and 
font-profont: 1; and it is designed to look good a really small sizes so you can 
font-profont: cram lots of lines of code into the window of your editor.
font-profont: 
font-profont: http://tobiasjung.name/profont/
font-profont: 
font-profont: 
font-profont: 

"
SLACKINSTALL="mkfontscale ./$X11_FONT_PATH
mkfontdir ./$X11_FONT_PATH
"

### default pkg_download
### prepare
pkg_prepare() {
	pkg_check $SRC_DIR $TARBALL $MD5SUM &&
	unzip -d ./tmp $SRC_DIR/$TARBALL
}

### default pkg_package
### build
pkg_build() {
	cd /tmp/profont* &&
	mkdir -p $X11_FONT_PATH &&
	install -m644 ProFont* $X11_FONT_PATH &&
	pkg_build_slackdesc
}


