summaryrefslogtreecommitdiff
path: root/pcr/ttf-beteckna
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2020-07-12 04:59:26 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2020-07-12 07:15:25 -0400
commit32d85f370cbadb37ee9a7c77f5a59e3bceb43945 (patch)
tree57a20da9f51e116da585c4cf6f13aa7e08db16a5 /pcr/ttf-beteckna
parentb72a7a0385f683974169a7cbd02eddfadf23e6c7 (diff)
downloadabslibre-32d85f370cbadb37ee9a7c77f5a59e3bceb43945.tar.gz
abslibre-32d85f370cbadb37ee9a7c77f5a59e3bceb43945.tar.bz2
abslibre-32d85f370cbadb37ee9a7c77f5a59e3bceb43945.zip
[ttf-beteckna]: rebuild
Diffstat (limited to 'pcr/ttf-beteckna')
-rw-r--r--pcr/ttf-beteckna/PKGBUILD35
-rw-r--r--pcr/ttf-beteckna/ttf-beteckna.install (renamed from pcr/ttf-beteckna/ttf.install)12
2 files changed, 25 insertions, 22 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
+}
diff --git a/pcr/ttf-beteckna/ttf.install b/pcr/ttf-beteckna/ttf-beteckna.install
index 33b7d6549..bb81666c8 100644
--- a/pcr/ttf-beteckna/ttf.install
+++ b/pcr/ttf-beteckna/ttf-beteckna.install
@@ -1,15 +1,11 @@
-post_install() {
+post_install()
+{
echo -n "==> Rebuilding 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_upgrade() { post_install $1 ; }
-post_remove() {
- post_install $1
-}
+post_remove() { post_install $1 ; }