diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/ttf-beteckna/PKGBUILD | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/pcr/ttf-beteckna/PKGBUILD b/pcr/ttf-beteckna/PKGBUILD index 82795253a..b314e2793 100644 --- a/pcr/ttf-beteckna/PKGBUILD +++ b/pcr/ttf-beteckna/PKGBUILD @@ -1,23 +1,29 @@ -# From https://aur.archlinux.org/packages.php?ID=22483 -# Contributor (Arch): TDY <tdy@gmx.com> -# Maintainer : Omar Vega Ramos <ovruni@gnu.org.pe> +# Maintainer (AUR): Aerion <emile@aerion.co.uk> +# Contributor (AUR): TDY <tdy@archlinux.info> +# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> pkgname=ttf-beteckna pkgver=0.4 -pkgrel=1.2 +pkgrel=1.3 pkgdesc="A geometric sans serif typeface inspired by the popular Futura" arch=('any') -url="http://gnu.ethz.ch/linuks.mine.nu/beteckna/" -license=('GPL') +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=(http://gnu.ethz.ch/linuks.mine.nu/${pkgname/*-}/${pkgname/*-}-$pkgver.tar.gz) -md5sums=('01c12138e0f689f4acdacb105f4350a7') +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" + fontforge -script sfd2ttf.ff *.sfd 2> /dev/null +} package() { cd "$srcdir/${pkgname/*-}-$pkgver" install -dm755 "$pkgdir/usr/share/fonts/TTF" - fontforge -script sfd2ttf.ff *.sfd &> /dev/null || return 1 - install -Dm644 *.ttf "$pkgdir/usr/share/fonts/TTF" + install -m644 *.ttf "$pkgdir/usr/share/fonts/TTF" } + +# vim:set ts=2 sw=2 et: |