# Description: Return the pixel width of the given strings for the given font # URL: https://github.com/baskerville/txtw # Maintainer: z3bra # Depends on: cairo name=txtw version=git-ec95bad release=2 source=() gitsource=git://github.com/baskerville/txtw.git build() { cd $PKGMK_SOURCE_DIR if cd $name; then git reset --hard git pull $gitsource else git clone $gitsource $name cd $name fi git checkout $sversion make make DESTDIR=$PKG PREFIX=/usr MANPREFIX=/usr/share/man install } # vim: set ft=sh ts=4 et: