diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bdeca6a1f430 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: bohoomil <@zoho.com> + +pkgname=ttf-source-serif-pro-ibx +pkgver=2.000 +pkgrel=1 +depends=('fontconfig') +pkgdesc="Source Serif Pro is a serif typeface in the transitional style, designed to complement Source Sans. TrueType version." +url="http://www.adobe.com/" +arch=('any') +license=('custom:OFL') +conflicts=('adobe-source-serif-pro-fonts' 'otf-source-serif-pro-ibx') +groups=('infinality-bundle-fonts-extra') +source=("https://github.com/adobe-fonts/source-serif-pro/archive/${pkgver}R.tar.gz" + 45-source-serif-pro.conf + 90-tt-source-serif-pro.conf) +sha1sums=('7117eda1c75894630a220a67a2110e1c96e688e6' + 'ec79743b49b83d380ca86918c7c44d474fd5101d' + '19dfa23495d142c728f8947b5eefd169f495e82e') + +package(){ + cd "source-serif-pro-${pkgver}R" + + install -m755 -d "${pkgdir}"/usr/share/licenses/"${pkgname}" + install -m644 LICENSE.txt "${pkgdir}"/usr/share/licenses/"${pkgname}" + + install -m755 -d "${pkgdir}"/usr/share/fonts/"${pkgname}" + install -m644 TTF/*.ttf "${pkgdir}"/usr/share/fonts/"${pkgname}" + + cd "${srcdir}" + install -m755 -d "${pkgdir}"/etc/fonts/conf.avail + install -m755 -d "${pkgdir}"/etc/fonts/conf.d + install -m644 45-source-serif-pro.conf \ + "${pkgdir}"/etc/fonts/conf.avail/45-source-serif-pro.conf + install -m644 90-tt-source-serif-pro.conf \ + "${pkgdir}"/etc/fonts/conf.avail/90-tt-source-serif-pro.conf + + cd "${pkgdir}"/etc/fonts/conf.d + ln -s ../conf.avail/45-source-serif-pro.conf . + ln -s ../conf.avail/90-tt-source-serif-pro.conf . +} |