diff options
author | Xyne | 2015-06-21 02:46:23 +0000 |
---|---|---|
committer | Xyne | 2015-06-21 02:46:23 +0000 |
commit | ca89ade016257813c13e006809095a7cec18199f (patch) | |
tree | 4f2a1b761c2ed8b090a6c201106f03cb7e7eb59f | |
download | aur-ca89ade016257813c13e006809095a7cec18199f.tar.gz |
Initial import.
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 22 | ||||
-rw-r--r-- | ttf-karatdemo-normal.install | 15 |
3 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..bcf99d996595 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = ttf-karatdemo-normal + pkgdesc = A free trial version of the normal-weight Karat font used in the Arch Linux logo. + pkgver = 2.0 + pkgrel = 1 + url = http://www.rubicon.ca/samp_pg3.htm + install = ttf-karatdemo-normal.install + arch = i686 + arch = x86_64 + license = custom + depends = fontconfig + depends = xorg-fonts-encodings + source = ftp://ftp.rubicon.ca/outgoing/KaratDemo_TT.zip + md5sums = 02887e3a54b6ceea6534a9456e363d33 + +pkgname = ttf-karatdemo-normal + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..11aa4c95df29 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Contributor: Alexander Fehr <pizzapunk gmail com> +# Contributor: Jan de Groot <jgc@archlinux.org> +# Contributor: Michal Krenek <mikos@sg1.cz> + +pkgname=ttf-karatdemo-normal +pkgver=2.0 +pkgrel=1 +pkgdesc="A free trial version of the normal-weight Karat font used in the Arch Linux logo." +arch=('i686' 'x86_64') +url="http://www.rubicon.ca/samp_pg3.htm" +license=('custom') +depends=('fontconfig' 'xorg-fonts-encodings') +install=${pkgname}.install +source=(ftp://ftp.rubicon.ca/outgoing/KaratDemo_TT.zip) +md5sums=('02887e3a54b6ceea6534a9456e363d33') + +package() { + cd "$srcdir" + _fontname="KaratDemo-Normal.ttf" + install -D -m644 "$_fontname" "$pkgdir/usr/share/fonts/TTF/$_fontname" + install -D -m644 Booklet.TXT "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" +} diff --git a/ttf-karatdemo-normal.install b/ttf-karatdemo-normal.install new file mode 100644 index 000000000000..f9077fbc4960 --- /dev/null +++ b/ttf-karatdemo-normal.install @@ -0,0 +1,15 @@ +post_install() { + echo "rebuilding font cache..." + fc-cache -fs + mkfontscale usr/share/fonts/TTF + mkfontdir usr/share/fonts/TTF + echo "done" +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |