diff options
author | veyen | 2016-10-07 22:39:49 +0200 |
---|---|---|
committer | veyen | 2016-10-07 22:39:49 +0200 |
commit | 2db2736939889fec5058beebba2ad421bc6a9352 (patch) | |
tree | 615b7f092c1655df6484d7f4f6349dc6174fde91 | |
download | aur-2db2736939889fec5058beebba2ad421bc6a9352.tar.gz |
first commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | Ab-Xy.ttf | bin | 0 -> 169428 bytes | |||
-rw-r--r-- | PKGBUILD | 17 | ||||
-rw-r--r-- | ttf-abkai.install | 15 |
4 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..31819675da85 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = ttf-abkai + pkgdesc = TTF fonts for Manchu, Sibe and Daur Scripts + pkgver = 1.0 + pkgrel = 1 + url = http://abkai.net/core/en/ + install = ttf-abkai.install + arch = any + license = custom + depends = fontconfig + depends = xorg-font-utils + source = Ab-Xy.ttf + sha256sums = SKIP + +pkgname = ttf-abkai + diff --git a/Ab-Xy.ttf b/Ab-Xy.ttf Binary files differnew file mode 100644 index 000000000000..634c56571f60 --- /dev/null +++ b/Ab-Xy.ttf diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b46281da5083 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,17 @@ +pkgname=ttf-abkai +pkgver=1.0 +pkgrel=1 +pkgdesc="TTF fonts for Manchu, Sibe and Daur Scripts" +arch=(any) +depends=(fontconfig xorg-font-utils) +source=("Ab-Xy.ttf" ) +url="http://abkai.net/core/en/" +license=('custom') +install=$pkgname.install +sha256sums=('SKIP') + +package() { + cd "${srcdir}" + install -d "$pkgdir/usr/share/fonts/TTF" + install -Dm644 *.ttf "$pkgdir/usr/share/fonts/TTF" +} diff --git a/ttf-abkai.install b/ttf-abkai.install new file mode 100644 index 000000000000..821e595a55ab --- /dev/null +++ b/ttf-abkai.install @@ -0,0 +1,15 @@ +post_install() { + echo "Updating 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 +} |