diff options
author | Kyle Keen | 2015-08-09 08:22:07 -0400 |
---|---|---|
committer | Kyle Keen | 2015-08-09 08:22:07 -0400 |
commit | 91e8015813fac3668f056fd96f1eb8dd51c956f4 (patch) | |
tree | da4184a8fbd481dd2149f3bc438e569c5099d554 | |
download | aur-91e8015813fac3668f056fd96f1eb8dd51c956f4.tar.gz |
aur3 recovery
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 22 | ||||
-rw-r--r-- | ttf.install | 17 |
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..de2d1189b20f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = ttf-monofur + pkgdesc = A monospaced font derived from the eurofurence typeface family + pkgver = 1.0 + pkgrel = 6 + url = http://www.dafont.com/monofur.font + install = ttf.install + arch = any + license = custom + depends = fontconfig + depends = xorg-font-utils + source = monof_tt.zip::http://img.dafont.com/dl/?f=monofur + sha256sums = 2d41ca991f342f9b74bc01433fba6c371fa7abcd5eaa45d8e71c9b8a2049055a + +pkgname = ttf-monofur + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f55527cbc60c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: TDY <tdy@archlinux.info> + +pkgname=ttf-monofur +pkgver=1.0 +pkgrel=6 +pkgdesc="A monospaced font derived from the eurofurence typeface family" +arch=('any') +url="http://www.dafont.com/monofur.font" +license=('custom') +depends=('fontconfig' 'xorg-font-utils') +install=ttf.install +source=(monof_tt.zip::http://img.dafont.com/dl/?f=monofur) +sha256sums=('2d41ca991f342f9b74bc01433fba6c371fa7abcd5eaa45d8e71c9b8a2049055a') + +package() { + cd "$srcdir" + install -Dm644 monof55.ttf "$pkgdir/usr/share/fonts/TTF/monof55.ttf" + install -Dm644 monof56.ttf "$pkgdir/usr/share/fonts/TTF/monof56.ttf" + install -Dm644 monof_tt.txt "$pkgdir/usr/share/licenses/$pkgname/license.txt" +} + +# vim:set ts=2 sw=2 et: diff --git a/ttf.install b/ttf.install new file mode 100644 index 000000000000..7370041e234b --- /dev/null +++ b/ttf.install @@ -0,0 +1,17 @@ +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_remove() { + post_install $1 +} + +# vim:set ts=2 sw=2 et: |