aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ttf-courier-prime
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
commitb6af1e02efe594039707cd882517663d5370f375 (patch)
treeff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/ttf-courier-prime
parenta71346b7acebc600960a98c84fb32cfd72fe864b (diff)
downloadaports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2
aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been updated for atleast 6 months. If you are affected by this commit please follow this proceddure: * make sure your packages build on all architectures * move your pacakge(s) back to testing * if you want to keep this package and can maintain it (or find somebody to maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/ttf-courier-prime')
-rw-r--r--unmaintained/ttf-courier-prime/45-courier-prime.conf12
-rw-r--r--unmaintained/ttf-courier-prime/90-tt-courier-prime.conf26
-rw-r--r--unmaintained/ttf-courier-prime/APKBUILD52
3 files changed, 90 insertions, 0 deletions
diff --git a/unmaintained/ttf-courier-prime/45-courier-prime.conf b/unmaintained/ttf-courier-prime/45-courier-prime.conf
new file mode 100644
index 0000000000..8611c0756b
--- /dev/null
+++ b/unmaintained/ttf-courier-prime/45-courier-prime.conf
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+
+ <alias>
+ <family>Courier Prime</family>
+ <default>
+ <family>monospace</family>
+ </default>
+ </alias>
+
+</fontconfig>
diff --git a/unmaintained/ttf-courier-prime/90-tt-courier-prime.conf b/unmaintained/ttf-courier-prime/90-tt-courier-prime.conf
new file mode 100644
index 0000000000..1f61e50d7a
--- /dev/null
+++ b/unmaintained/ttf-courier-prime/90-tt-courier-prime.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>Courier Prime</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/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"