# Contributor: Carlo Landmeter # Maintainer: setvar pkgname = 'ttf-merriweather' setvar pkgver = '1.003' setvar pkgrel = '0' setvar pkgdesc = ""Merriweather Serif font family by Eben Sorkin."" setvar url = ""http://sorkintype.com"" setvar arch = ""noarch"" setvar license = ""OFL"" setvar depends = ""fontconfig"" setvar depends_dev = """" setvar makedepends = "$depends_dev" setvar install = """" setvar subpackages = """" # added fontconfig configuration from: # https://github.com/bohoomil/fontconfig-ultimate/tree/master/fontconfig_patches/fonts-settings setvar source = ""$pkgname-$pkgver.tar.xz::http://bohoomil.com/src/merriweather_ib.tar.xz 45-merriweather.conf 90-tt-merriweather.conf"" setvar _builddir = ""$srcdir"/merriweather_ib" proc build { cd $_builddir } proc package { mkdir -p "$pkgdir"/usr/share/fonts/$pkgname \ "$pkgdir"/etc/fonts/conf.avail \ "$pkgdir"/etc/fonts/conf.d for i in "$_builddir"/*.ttf { install -m644 $i \ "$pkgdir"/usr/share/fonts/$pkgname/ || return 1 } for j in "$srcdir"/*.conf { install -m644 $j \ "$pkgdir"/etc/fonts/conf.avail/ || return 1 cd "$pkgdir"/etc/fonts/conf.d ln -sf /etc/fonts/conf.avail/${j##*/} } } setvar md5sums = ""dc81d1e5399c7a241f502c193eb73b4c ttf-merriweather-1.003.tar.xz 18f4bb0cf718c19ad323c4d554cfe8de 45-merriweather.conf 2912745859ce25859166ff4e782ccf55 90-tt-merriweather.conf"" setvar sha256sums = ""1b170c2292ab06951ee9f8f6064632d999ca8a612e1c53863de161c42eb8cce2 ttf-merriweather-1.003.tar.xz 78d5e10ba75623ea6cc0ba2a6c1d7cf098b892f03de5f287aec6ab5b4f084f71 45-merriweather.conf 766a9e3697a735546df29c87dfbd02ff97b646495615a0846b690718acfc7756 90-tt-merriweather.conf"" setvar sha512sums = ""339e02d3ae0d3ad9933dbea00321635b61e0d2e4be78b38ff9fcf9f81bd29036b15ecfab5e3723e521d8763c6ed497f75ce4062c3626c838f84ea53b1cb10ab1 ttf-merriweather-1.003.tar.xz 12716d17cb06bd76bd554aabf6b3a706c7c83dd322a5f30cb05d7b63eec7873d821ffc436ae0f3354d8e760daff380586c737f03af4ac8d697abb67a8704e08f 45-merriweather.conf 51ec29a81deab79685905ac84e6668b2972c641327c37dcab1efbcfbf40c7f982de0a2dd9d5c89bcb4bd583996363e6e593788142c632bda818421be9c021ced 90-tt-merriweather.conf""