summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2020-03-24 11:22:53 +0300
committerCaleb Maclennan2020-03-25 08:43:53 +0300
commit7be3e21f91a866960026f878cf81a08324d28a43 (patch)
tree1ee1c804085ca425064fc8136d329908f1d3e787
parente682c832e48e47abae549b639e907cbd299f2723 (diff)
parent6153dd7f594eb34624547a686d66088745922d8a (diff)
downloadaur-7be3e21f91a866960026f878cf81a08324d28a43.tar.gz
Merge package ttf-symbola-ib as -infinality subpackage
-rw-r--r--.SRCINFO20
-rw-r--r--45-symbola.conf12
-rw-r--r--90-tt-symbola.conf26
-rw-r--r--PKGBUILD41
4 files changed, 82 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6b91a9acf3e..cf08db82879 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,23 +1,33 @@
pkgbase = font-symbola
pkgdesc = Font for symbol blocks of the Unicode Standard
pkgver = 13.00
- pkgrel = 5
+ pkgrel = 6
url = https://dn-works.com/ufas/
arch = any
license = custom
makedepends = fontforge
makedepends = poppler
source = font-symbola-13.00.zip::https://dn-works.com/wp-content/uploads/2020/UFAS-Fonts/Symbola.zip
- source = LICENSE.pdf::https://dn-works.com/wp-content/uploads/2020/UFAS-Docs/License.pdf
+ source = https://dn-works.com/wp-content/uploads/2020/UFAS-Docs/License.pdf
+ source = 45-symbola.conf
+ source = 90-tt-symbola.conf
sha512sums = ba671168ab2dc15293ae404f849f13b9b1f4684ce1856a8c2bbf8b9a2e2d70a27f86ef166a5e3ab6260e651c8276537ee272710a7e1fb49beef26fbed6355a35
sha512sums = 6b6f7688a5571375b59135e2a60c61d0ad7fd2d19f0f226a38b8b39696c6f01047758937e9431f8d64f4758fe207eac83ba4df847efccb24b119be4aff69dbf3
+ sha512sums = e30c8c2ccf70f89602e2326fc969d1ccaa1a14fb07ff19314d98554c1f3051078476a3fb8bce2ee56e22cd1574cd5d6fd2efd5eb4ca88ca04e9cd4586e29c4fe
+ sha512sums = af22a299541b042694ce1b962beef101b612a0992318fb8c9a003defbd4e53c2ffbcb9f584eaa8d0b1fd55cfa175c978aaa495837242dfa38c74d51b19d11044
+
+pkgname = otf-symbola
+ pkgdesc = Font for symbol blocks of the Unicode Standard (OTF)
+ provides = font-symbola
pkgname = ttf-symbola
pkgdesc = Font for symbol blocks of the Unicode Standard (TTF)
provides = font-symbola
conflicts = ttf-symbola-ib<=13.00
-pkgname = otf-symbola
- pkgdesc = Font for symbol blocks of the Unicode Standard (OTF)
- provides = font-symbola
+pkgname = ttf-symbola-infinity
+ pkgdesc = Font for symbol blocks of the Unicode Standard (Infinality configuration)
+ groups = infinality-bundle-fonts
+ provides = ttf-symbola-ib
+ replaces = ttf-symbola-ib
diff --git a/45-symbola.conf b/45-symbola.conf
new file mode 100644
index 00000000000..4cdaf1f464b
--- /dev/null
+++ b/45-symbola.conf
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+
+ <alias>
+ <family>Symbola</family>
+ <default>
+ <family>serif</family>
+ </default>
+ </alias>
+
+</fontconfig>
diff --git a/90-tt-symbola.conf b/90-tt-symbola.conf
new file mode 100644
index 00000000000..14a3211b7d9
--- /dev/null
+++ b/90-tt-symbola.conf
@@ -0,0 +1,26 @@
+<?xml version='1.0'?>
+<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
+<fontconfig>
+
+ <match target="font">
+ <test name="force_autohint">
+ <bool>false</bool>
+ </test>
+ <test name="family">
+ <string>Symbola</string>
+ </test>
+ <edit name="antialias" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="hinting" mode="assign">
+ <bool>true</bool>
+ </edit>
+ <edit name="hintstyle" mode="assign">
+ <const>hintslight</const>
+ </edit>
+ <edit name="autohint" mode="assign">
+ <bool>false</bool>
+ </edit>
+ </match>
+
+</fontconfig>
diff --git a/PKGBUILD b/PKGBUILD
index ca28139205d..d2fa84e5c83 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,40 @@
# Maintainer: George Rawlinson <george@rawlinson.net.nz>
-# Contributor: Caleb Maclennan <caleb@alerque.com>
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+# Contributor: Solomon Choina <shlomochoina@gmail.com>
# Contributor: Morten Linderud <foxboron@archlinux.org>
# Contributor: Daniel Micay <danielmicay@gmail.com>
# Contributor: Elena ``of Valhalla'' Grandi <gmail.com: elena.valhalla>
# Contributor: Jesse Jaara <gmail.com: jesse.jaara>
+# Contributor: bohoomil <@zoho.com>
pkgbase=font-symbola
-pkgname=('ttf-symbola' 'otf-symbola')
+pkgname=('otf-symbola' 'ttf-symbola' 'ttf-symbola-infinity')
pkgver=13.00
-pkgrel=5
+pkgrel=6
pkgdesc='Font for symbol blocks of the Unicode Standard'
arch=('any')
url='https://dn-works.com/ufas/'
license=('custom')
makedepends=('fontforge' 'poppler')
-source=("${pkgbase}-${pkgver}.zip::https://dn-works.com/wp-content/uploads/2020/UFAS-Fonts/Symbola.zip"
- "LICENSE.pdf::https://dn-works.com/wp-content/uploads/2020/UFAS-Docs/License.pdf")
+source=("$pkgbase-$pkgver.zip::https://dn-works.com/wp-content/uploads/2020/UFAS-Fonts/Symbola.zip"
+ 'https://dn-works.com/wp-content/uploads/2020/UFAS-Docs/License.pdf'
+ '45-symbola.conf'
+ '90-tt-symbola.conf')
sha512sums=('ba671168ab2dc15293ae404f849f13b9b1f4684ce1856a8c2bbf8b9a2e2d70a27f86ef166a5e3ab6260e651c8276537ee272710a7e1fb49beef26fbed6355a35'
- '6b6f7688a5571375b59135e2a60c61d0ad7fd2d19f0f226a38b8b39696c6f01047758937e9431f8d64f4758fe207eac83ba4df847efccb24b119be4aff69dbf3')
+ '6b6f7688a5571375b59135e2a60c61d0ad7fd2d19f0f226a38b8b39696c6f01047758937e9431f8d64f4758fe207eac83ba4df847efccb24b119be4aff69dbf3'
+ 'e30c8c2ccf70f89602e2326fc969d1ccaa1a14fb07ff19314d98554c1f3051078476a3fb8bce2ee56e22cd1574cd5d6fd2efd5eb4ca88ca04e9cd4586e29c4fe'
+ 'af22a299541b042694ce1b962beef101b612a0992318fb8c9a003defbd4e53c2ffbcb9f584eaa8d0b1fd55cfa175c978aaa495837242dfa38c74d51b19d11044')
build() {
fontforge -c 'open(argv[1]).generate(argv[2])' Symbola.{otf,ttf}
- pdftotext LICENSE.pdf LICENSE
+ pdftotext License.pdf LICENSE
+}
+
+package_otf-symbola() {
+ provides=('font-symbola')
+ pkgdesc+=" (OTF)"
+ install -Dm644 -t "$pkgdir/usr/share/fonts/OTF/" Symbola.otf
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
}
package_ttf-symbola() {
@@ -32,9 +45,13 @@ package_ttf-symbola() {
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
}
-package_otf-symbola() {
- provides=('font-symbola')
- pkgdesc+=" (OTF)"
- install -Dm644 -t "$pkgdir/usr/share/fonts/OTF/" Symbola.otf
- install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+package_ttf-symbola-infinity() {
+ provides=('ttf-symbola-ib')
+ replaces=('ttf-symbola-ib')
+ groups=('infinality-bundle-fonts')
+ pkgdesc+=" (Infinality configuration)"
+ install -Dm644 -t "$pkgdir/etc/fonts/conf.avail/" [0-9]*.conf
+ install -dm644 "$pkgdir/etc/fonts/conf.d"
+ cd "$pkgdir/etc/fonts/conf.d"
+ ln -s ../conf.avail/*.conf .
}