diff options
Diffstat (limited to 'pcr/ttf-beteckna/PKGBUILD')
-rw-r--r-- | pcr/ttf-beteckna/PKGBUILD | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/pcr/ttf-beteckna/PKGBUILD b/pcr/ttf-beteckna/PKGBUILD index b314e2793..414b84bf0 100644 --- a/pcr/ttf-beteckna/PKGBUILD +++ b/pcr/ttf-beteckna/PKGBUILD @@ -1,29 +1,36 @@ # Maintainer (AUR): Aerion <emile@aerion.co.uk> # Contributor (AUR): TDY <tdy@archlinux.info> # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> +# Contributor: bill-auger <bill-auger@programmer.net> + pkgname=ttf-beteckna pkgver=0.4 -pkgrel=1.3 +pkgrel=2 pkgdesc="A geometric sans serif typeface inspired by the popular Futura" arch=('any') -url="https://web.archive.org/web/20130517030302/http://gnu.ethz.ch/linuks.mine.nu/beteckna/" +url=https://web.archive.org/web/20130517030302/http://gnu.ethz.ch/linuks.mine.nu/beteckna/ license=('GPL3') -depends=('fontconfig' 'xorg-font-utils') -makedepends=('fontforge') -install=ttf.install -source=(https://web.archive.org/web/20130517030302/http://gnu.ethz.ch/linuks.mine.nu/beteckna/beteckna-$pkgver.tar.gz) + +depends=(fontconfig xorg-mkfontdir xorg-mkfontscale) +makedepends=(fontforge) +install=${pkgname}.install +source=(https://web.archive.org/web/20130517030302/http://gnu.ethz.ch/linuks.mine.nu/beteckna/beteckna-${pkgver}.tar.gz) + sha256sums=('7b2d02e82422c0d4f5550cb8c3679e0549343bad49b261673c04f44dda8ee307') -build() { - cd "$srcdir/${pkgname/*-}-$pkgver" + +build() +{ + cd "${srcdir}"/${pkgname/*-}-${pkgver} + fontforge -script sfd2ttf.ff *.sfd 2> /dev/null } -package() { - cd "$srcdir/${pkgname/*-}-$pkgver" - install -dm755 "$pkgdir/usr/share/fonts/TTF" - install -m644 *.ttf "$pkgdir/usr/share/fonts/TTF" -} +package() +{ + cd "${srcdir}"/${pkgname/*-}-${pkgver} -# vim:set ts=2 sw=2 et: + install -dm755 ${pkgdir}/usr/share/fonts/TTF + install -m644 *.ttf ${pkgdir}/usr/share/fonts/TTF +} |