diff options
author | Mohammadreza Abdollahzadeh | 2017-01-21 17:11:20 +0330 |
---|---|---|
committer | Mohammadreza Abdollahzadeh | 2017-01-21 17:11:20 +0330 |
commit | 981ed6bc99a54dc3adcd672323d37442fa26b21f (patch) | |
tree | e8c8d209a6215a55fe621f871f7e0b198887dbe3 | |
download | aur-981ed6bc99a54dc3adcd672323d37442fa26b21f.tar.gz |
initial import
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6d334a7af893 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +# Generated by mksrcinfo v8 +# Sat Jan 21 13:39:08 UTC 2017 +pkgbase = borna-fonts + pkgdesc = Borna Rayaneh Co. Persian B font series. + pkgver = 1.0 + pkgrel = 1 + url = http://www.bornaray.com/products/font.html + arch = any + license = unknown + depends = fontconfig + provides = ttf-borna + provides = borna-fonts + conflicts = ttf-borna + conflicts = borna-fonts + replaces = ttf-borna + source = borna-fonts-1.0.zip::http://www.bornaray.com/downloads/bfonts.zip + sha256sums = f9d7dcabe3378b82d7d32ae5b4f41b90dc9f72a572604ee59b4ebde54851379a + +pkgname = borna-fonts + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4573e424d451 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# $Id$ +# Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com> + +pkgname=borna-fonts +pkgver=1.0 +pkgrel=1 +pkgdesc="Borna Rayaneh Co. Persian B font series." +url="http://www.bornaray.com/products/font.html" +arch=(any) +license=(unknown) +depends=('fontconfig') +provides=('ttf-borna' "$pkgname") +conflicts=('ttf-borna' "$pkgname") +replaces=('ttf-borna') +source=("$pkgname-$pkgver.zip::http://www.bornaray.com/downloads/bfonts.zip") +sha256sums=('f9d7dcabe3378b82d7d32ae5b4f41b90dc9f72a572604ee59b4ebde54851379a') + +prepare() { + cd BFonts + for i in $(find . -type f -name "*[A-Z]*"); + do mv "$i" "$(echo $i | tr A-Z a-z)"; + done +} + +package() { + install -d "$pkgdir/usr/share/fonts/${pkgname%-fonts}" + install -t "$pkgdir/usr/share/fonts/${pkgname%-fonts}" -m644 BFonts/*.ttf +} + +# vim:set ts=2 sw=2 et: |