diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 22 | ||||
-rw-r--r-- | ttf-iran-nastaliq.install | 4 |
3 files changed, 20 insertions, 20 deletions
@@ -1,14 +1,18 @@ +# Generated by mksrcinfo v8 +# Mon Apr 18 16:21:24 UTC 2016 pkgbase = ttf-iran-nastaliq - pkgdesc = A free Unicode calligraphic font created by the High Council of Informatics of Iran. + pkgdesc = A free Unicode calligraphic persian font created by Iran Supreme Council of Information and Communication Technology (SCICT). pkgver = 2.0b - pkgrel = 1 + pkgrel = 2 url = http://www.scict.ir/portal/Home/Default.aspx?CategoryID=c7a865b2-7b95-4169-ad94-f9de320528d7 install = ttf-iran-nastaliq.install arch = any - license = unknown + groups = persian-fonts + license = custom depends = fontconfig - source = http://www.scict.ir/portal/File/ShowFile.aspx?ID=5624fa86-e0d3-4f09-a68c-6d8998773265 - sha512sums = 9edfb9a3b07f7a90a2244ed12f93945dd3190df1b546038469448debbc2158f4aa352776976b36955c41913e85a41cd72ec33b351e0fc8d4395aa3b0ee1b2ecb + depends = xorg-font-utils + source = irannastaliq.ttf::http://www.scict.ir/portal/File/ShowFile.aspx?ID=5624fa86-e0d3-4f09-a68c-6d8998773265 + md5sums = 8d7d8fa0b9ddb8ec258ad6b8b9b6d254 pkgname = ttf-iran-nastaliq @@ -3,19 +3,17 @@ pkgname=ttf-iran-nastaliq pkgver=2.0b -pkgrel=1 -pkgdesc="A free Unicode calligraphic font created by the High Council of Informatics of Iran." -arch=(any) -url=http://www.scict.ir/portal/Home/Default.aspx?CategoryID=c7a865b2-7b95-4169-ad94-f9de320528d7 -license=('unknown') -depends=('fontconfig') +pkgrel=2 +pkgdesc="A free Unicode calligraphic persian font created by Iran Supreme Council of Information and Communication Technology (SCICT)." +arch=('any') +url="http://www.scict.ir/portal/Home/Default.aspx?CategoryID=c7a865b2-7b95-4169-ad94-f9de320528d7" +license=('custom') +groups=(persian-fonts) +depends=('fontconfig' 'xorg-font-utils') install=$pkgname.install -source=('http://www.scict.ir/portal/File/ShowFile.aspx?ID=5624fa86-e0d3-4f09-a68c-6d8998773265') -sha512sums=('9edfb9a3b07f7a90a2244ed12f93945dd3190df1b546038469448debbc2158f4aa352776976b36955c41913e85a41cd72ec33b351e0fc8d4395aa3b0ee1b2ecb') +source=('irannastaliq.ttf::http://www.scict.ir/portal/File/ShowFile.aspx?ID=5624fa86-e0d3-4f09-a68c-6d8998773265') +md5sums=('8d7d8fa0b9ddb8ec258ad6b8b9b6d254') package() { - _target="$pkgdir/usr/share/fonts/scict" - mkdir -p $_target - install -Dm644 ShowFile.aspx\?ID=5624fa86-e0d3-4f09-a68c-6d8998773265 \ - "$_target/IranNastaliq.ttf" + install -Dm 644 $srcdir/irannastaliq.ttf $pkgdir/usr/share/fonts/$pkgname/irannastaliq.ttf } diff --git a/ttf-iran-nastaliq.install b/ttf-iran-nastaliq.install index 28ebfbdf2123..173b66a966ef 100644 --- a/ttf-iran-nastaliq.install +++ b/ttf-iran-nastaliq.install @@ -1,7 +1,5 @@ post_install() { - echo -n "Updating font cache... " - fc-cache -fs >/dev/null - echo "done." + fc-cache -s } post_upgrade() { |