diff options
Diffstat (limited to 'unmaintained/ttf-courier-prime/APKBUILD')
-rw-r--r-- | unmaintained/ttf-courier-prime/APKBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/unmaintained/ttf-courier-prime/APKBUILD b/unmaintained/ttf-courier-prime/APKBUILD new file mode 100644 index 0000000000..f2f4c9cc5e --- /dev/null +++ b/unmaintained/ttf-courier-prime/APKBUILD @@ -0,0 +1,52 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=ttf-courier-prime +pkgver=1.203 +pkgrel=0 +pkgdesc="A free, improved, classical monospaced typeface." +url="http://quoteunquoteapps.com/courierprime/" +arch="noarch" +license="OFL" +depends="fontconfig" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="" +# added fontconfig configuration from: +# https://github.com/bohoomil/fontconfig-ultimate/tree/master/fontconfig_patches/fonts-settings +source="$pkgname-$pkgver.zip::http://quoteunquoteapps.com/downloads/courier-prime.zip + 45-courier-prime.conf + 90-tt-courier-prime.conf" + +_builddir="$srcdir/Courier Prime" + +build() { + cd "$_builddir" +} + +package() { + mkdir -p "$pkgdir"/usr/share/fonts/$pkgname \ + "$pkgdir"/etc/fonts/conf.avail \ + "$pkgdir"/etc/fonts/conf.d + + for i in "$_builddir"/*.ttf; do + install -m644 "$i" \ + "$pkgdir"/usr/share/fonts/$pkgname/ || return 1 + done + + for j in "$srcdir"/*.conf; do + install -m644 "$j" \ + "$pkgdir"/etc/fonts/conf.avail/ || return 1 + cd "$pkgdir"/etc/fonts/conf.d + ln -sf /etc/fonts/conf.avail/${j##*/} + done +} +md5sums="cf79336ce1cf439560a5364ab7856738 ttf-courier-prime-1.203.zip +386cdeb1dcf7aa8d61b2676bb408071c 45-courier-prime.conf +34ad0a1eb3a1d7b436feb0347ab72a11 90-tt-courier-prime.conf" +sha256sums="d5d4faf1bee0d1f52bab1103cbfdfb354976331c86f999c110c22a098cb12d73 ttf-courier-prime-1.203.zip +bf60ee516132a80f4293b3418e5741121581cd4dc9c3080f05720b61d0b7006d 45-courier-prime.conf +98ca88805d49df11c362b24467b40aeedc4520cb16f4896ded02236b2785e0d6 90-tt-courier-prime.conf" +sha512sums="4a039d87ac236c96bf6b82e05bc3f9308ada20507bd6b2e6d265d0046b5c640daf4d1c19c3450131797cba575c60c651977bcfd51e791f7a59fa8c8718b96b28 ttf-courier-prime-1.203.zip +96287816f005e476a62998991ad20cfd2116d6ee9a7acaca8f1a0ed8bb9f77c14ab38b1cf487add099b082800659fbb51352fa170e13672bc354c35259ef89fc 45-courier-prime.conf +6a000366145a16746b3e5898bdc29b51f210c47145be1baf5077eb6407cdc448a91ed1e388c38eb3063e264a2642f7af7e340f76028200bed905d1d8f6910b02 90-tt-courier-prime.conf" |