# Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: setvar pkgname = 'ttf-opensans' setvar pkgver = '1.2' setvar pkgrel = '0' setvar pkgdesc = ""Open Sans is a humanist sans serif typeface designed by Steve Matteson"" setvar url = ""http://opensans.com/"" setvar arch = ""noarch"" setvar license = ""Apache"" 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 = ""http://dev.alpinelinux.org/archive/ttf-opensans/ttf-opensans-$pkgver.tar.gz 45-opensans.conf 90-tt-opensans.conf"" setvar _builddir = ""$srcdir"/$pkgname" 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 = ""65288f5ce42c8f0c65b1325d74df60cc ttf-opensans-1.2.tar.gz 92ba870ab9de8466dfb3fdf3f02f5eaa 45-opensans.conf 84f21626d61c7f2a61d673aabddf10fb 90-tt-opensans.conf"" setvar sha256sums = ""92470f153bb19fc3edefde04f485755cc084cdd7d4bcedf90f655a09ffa32032 ttf-opensans-1.2.tar.gz fa343948e4225f8ab73ce72ff4f6520dec60be396beb57551f30e675b498fd31 45-opensans.conf e6213d0af8c24688742903d5b7bd77515c3a249db0a9e0cef4aa107f5b64d5b3 90-tt-opensans.conf"" setvar sha512sums = ""6d20a92286db4757acf05123571388d381c761f46080c9dbf175a69535a4b29efa284d1e629a9cbe7f9e43ba05de4140ce38ea6c0f3e53e596c50f9cf3dcde21 ttf-opensans-1.2.tar.gz 853d50f6d0ff309b170ae6e0fb8f6a0b96dbf842b8ef9ac3c9f4c22aa269ef7a1009d6c39810be1e9adab7d44fb5e7772d5d7ecfecf6cfe18538b999e3390215 45-opensans.conf 4e3c0e9d3e6fb8f87ec294cda375671a50588998192384e8503550f8c9471501e8d1fd9fb1eb819a630651ab8a81054704d0ca15c0d5de31d5e2067f3837d276 90-tt-opensans.conf""