From 35848eb77301fe20bc9808caade9d2f3a0e966ba Mon Sep 17 00:00:00 2001 From: James Meyer Date: Mon, 26 Nov 2012 08:58:38 -0600 Subject: added some ttf fonts: terminus-font ttf-droid ttf-liberation --- abs/extra/terminus-font/PKGBUILD | 38 ++- abs/extra/terminus-font/install.proto | 27 -- abs/extra/terminus-font/terminus-font.install | 11 +- abs/extra/ttf-droid/PKGBUILD | 26 +- abs/extra/ttf-droid/kufi-fontconfig.conf | 16 ++ abs/extra/ttf-droid/sans-fontconfig.conf | 310 +++++++++++++++++++++ abs/extra/ttf-droid/sans-mono-fontconfig.conf | 16 ++ abs/extra/ttf-droid/serif-fontconfig.conf | 64 +++++ abs/extra/ttf-liberation/30-0-liberation-mono.conf | 18 ++ abs/extra/ttf-liberation/30-0-liberation-sans.conf | 18 ++ .../ttf-liberation/30-0-liberation-serif.conf | 18 ++ abs/extra/ttf-liberation/PKGBUILD | 26 +- 12 files changed, 527 insertions(+), 61 deletions(-) delete mode 100644 abs/extra/terminus-font/install.proto create mode 100644 abs/extra/ttf-droid/kufi-fontconfig.conf create mode 100644 abs/extra/ttf-droid/sans-fontconfig.conf create mode 100644 abs/extra/ttf-droid/sans-mono-fontconfig.conf create mode 100644 abs/extra/ttf-droid/serif-fontconfig.conf create mode 100644 abs/extra/ttf-liberation/30-0-liberation-mono.conf create mode 100644 abs/extra/ttf-liberation/30-0-liberation-sans.conf create mode 100644 abs/extra/ttf-liberation/30-0-liberation-serif.conf diff --git a/abs/extra/terminus-font/PKGBUILD b/abs/extra/terminus-font/PKGBUILD index c3be90c..17201d3 100644 --- a/abs/extra/terminus-font/PKGBUILD +++ b/abs/extra/terminus-font/PKGBUILD @@ -1,20 +1,32 @@ +# $Id: PKGBUILD 68042 2012-03-17 11:38:36Z giovanni $ # Maintainer: Vesa Kaihlavirta -# Contributor: Kristoffer Fossgård +# Contributor: Kristoffer FossgÃ¥rd + pkgname=terminus-font -pkgver=4.30 -pkgrel=1 +pkgver=4.36 +pkgrel=2 pkgdesc="A superb, monospace bitmap font (for X11 and console)" -depends=(xorg-fonts-encodings xorg-fonts-alias xorg-font-utils fontconfig) -replaces=(xserver-terminus-fonts) -arch=(i686 x86_64) -source=(http://www.is-vn.bg/hamster/$pkgname-$pkgver.tar.gz) -url="http://www.is-vn.bg/hamster/jimmy-en.html" +arch=('any') +url="http://sourceforge.net/projects/terminus-font/" +license=('GPL2' 'custom:OFL') +depends=('xorg-fonts-encodings' 'xorg-fonts-alias' 'xorg-font-utils' 'fontconfig') +replaces=('xserver-terminus-fonts') install=terminus-font.install -license=('GPL-2') +source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz") +md5sums=('de925a7ee7351581033d4b615dcb1eb1') build() { - cd $startdir/src/$pkgname-$pkgver - ./configure --prefix=/usr --x11dir=/usr/share/fonts/local/ --psfdir=/usr/share/kbd/consolefonts/ - make DESTDIR=$startdir/pkg install + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr \ + --x11dir=/usr/share/fonts/local \ + --psfdir=/usr/share/kbd/consolefonts +} +package() +{ + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install + install -Dm644 "${srcdir}/${pkgname}-${pkgver}/OFL.TXT" \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } -md5sums=('6f8bd95b593851f9f5c210a9d33cbbf1') diff --git a/abs/extra/terminus-font/install.proto b/abs/extra/terminus-font/install.proto deleted file mode 100644 index 37f0b55..0000000 --- a/abs/extra/terminus-font/install.proto +++ /dev/null @@ -1,27 +0,0 @@ -# arg 1: the new package version - post_install() { - echo -n "Updating font cache... " - /usr/bin/fc-cache - cd /usr/share/fonts/local - /usr/bin/mkfontdir - /usr/bin/mkfontscale -# cp ../encodings/encodings.dir ./encodings.dir - echo "done." - echo "Note that local fonts are now (with xorg-7.0) in /usr/share/fonts/local/" - } - -# # arg 1: the new package version -# # arg 2: the old package version - post_upgrade() { - post_install $1 - } -# -# # arg 1: the old package version - post_remove() { - /usr/bin/fc-cache - } - -op=$1 -shift - -$op $* diff --git a/abs/extra/terminus-font/terminus-font.install b/abs/extra/terminus-font/terminus-font.install index e17fb4f..6b194dc 100644 --- a/abs/extra/terminus-font/terminus-font.install +++ b/abs/extra/terminus-font/terminus-font.install @@ -1,4 +1,3 @@ -# arg 1: the new package version post_install() { echo -n "Updating font cache... " fc-cache -f > /dev/null @@ -8,14 +7,10 @@ post_install() { echo "Note: terminus-font is in /usr/share/fonts/local/" } -# # arg 1: the new package version -# # arg 2: the old package version post_upgrade() { - post_install $1 + post_install } -# -# # arg 1: the old package version + post_remove() { - post_install $1 + post_install } - diff --git a/abs/extra/ttf-droid/PKGBUILD b/abs/extra/ttf-droid/PKGBUILD index 2df7e2b..3baa9d6 100644 --- a/abs/extra/ttf-droid/PKGBUILD +++ b/abs/extra/ttf-droid/PKGBUILD @@ -2,21 +2,35 @@ # Contributor: Urs Wolfer pkgname=ttf-droid -pkgver=20110417 -pkgrel=2 -pkgdesc="A font created by Ascender Corporation for use by the Open Handset Alliance platform, Android." +pkgver=20121017 +pkgrel=1 +pkgdesc="General-purpose fonts released by Google as part of Android" arch=('any') license=('apache') url="http://code.google.com/android/" depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils') install=$pkgname.install -source=('ftp://ftp.archlinux.org/other/community/ttf-droid/ttf-droid.tar.xz') -md5sums=('f0dffb54269504a0fdb2c4fe394322ee') +source=('ftp://ftp.archlinux.org/other/community/ttf-droid/ttf-droid-20121017.tar.xz' 'serif-fontconfig.conf' 'sans-fontconfig.conf' 'sans-mono-fontconfig.conf' 'kufi-fontconfig.conf' ) +md5sums=('0fa20eb63d7d05b23be955777bb52a5d') package() { - cd $srcdir/ttf-droid + # Install fonts + cd $srcdir/google-droid-fonts-$pkgver install -d $pkgdir/usr/share/fonts/TTF/ install -m644 *.ttf $pkgdir/usr/share/fonts/TTF/ + + # Install fontconfig + cd $srcdir + install -d $pkgdir/etc/fonts/conf.avail/ + install -m644 sans-fontconfig.conf $pkgdir/etc/fonts/conf.avail/65-$pkgname-sans-fontconfig.conf + install -m644 sans-mono-fontconfig.conf $pkgdir/etc/fonts/conf.avail/60-$pkgname-sans-mono-fontconfig.conf + install -m644 serif-fontconfig.conf $pkgdir/etc/fonts/conf.avail/65-$pkgname-serif-fontconfig.conf + install -m644 kufi-fontconfig.conf $pkgdir/etc/fonts/conf.avail/65-$pkgname-kufi-fontconfig.conf } +md5sums=('0fa20eb63d7d05b23be955777bb52a5d' + '7db18cf9df70ee41fbab444c80117ec6' + '61f59063f84bd1331a91e21ebf86d43d' + '7d7787d92e7b5089558a6d68c99813e3' + '954a340fc7cb2846826a97d2b752501d') diff --git a/abs/extra/ttf-droid/kufi-fontconfig.conf b/abs/extra/ttf-droid/kufi-fontconfig.conf new file mode 100644 index 0000000..4d368eb --- /dev/null +++ b/abs/extra/ttf-droid/kufi-fontconfig.conf @@ -0,0 +1,16 @@ + + + + + fantasy + + Droid Arabic Kufi + + + + Droid Arabic Kufi + + Droid Sans + + + diff --git a/abs/extra/ttf-droid/sans-fontconfig.conf b/abs/extra/ttf-droid/sans-fontconfig.conf new file mode 100644 index 0000000..dc9845c --- /dev/null +++ b/abs/extra/ttf-droid/sans-fontconfig.conf @@ -0,0 +1,310 @@ + + + + + + Droid Sans + + + 12 + + + + + Droid Sans Hebrew + + + Droid Sans + + + Droid Sans + + + 11 + + + + + Droid Sans Hebrew Bold + + + Droid Sans + + + Droid Sans Bold + + + 11 + + + + + Droid Sans Armenian + + + Droid Sans + + + Droid Sans + + + 10 + + + + + Droid Sans Georgian + + + Droid Sans + + + Droid Sans + + + 9 + + + + + Droid Sans Ethiopic + + + Droid Sans + + + Droid Sans + + + 8 + + + + + Droid Sans Ethiopic Bold + + + Droid Sans + + + Droid Sans Bold + + + 8 + + + + + Droid Sans Arabic + + + Droid Sans + + + Droid Sans + + + 7 + + + + + Droid Sans Devanagari + + + Droid Sans + + + Droid Sans + + + 6 + + + + + Droid Sans Tamil + + + Droid Sans + + + Droid Sans + + + 5 + + + + + Droid Sans Tamil Bold + + + Droid Sans + + + Droid Sans Bold + + + 5 + + + + + Droid Sans Thai + + + Droid Sans + + + Droid Sans + + + 4 + + + + + zh-cn + + + zh-sg + + + zh-hk + + + zh-tw + + + zh + + + Droid Sans Japanese + + + Droid Sans + + + Droid Sans + + + 3 + + + + + Droid Sans Fallback + + + Droid Sans + + + Droid Sans + + + 2 + + + + + zh-cn + + + zh-sg + + + zh-hk + + + zh-tw + + + zh + + + Droid Sans Japanese + + + Droid Sans + + + Droid Sans + + + 1 + + + + Droid Sans Arabic + + Droid Sans + + + + Droid Sans Armenian + + Droid Sans + + + + Droid Sans Devanagari + + Droid Sans + + + + Droid Sans Ethiopic + + Droid Sans + + + + Droid Sans Fallback + + Droid Sans + + + + Droid Sans Georgian + + Droid Sans + + + + Droid Sans Hebrew + + Droid Sans + + + + Droid Sans Japanese + + Droid Sans + + + + Droid Sans Tamil + + Droid Sans + + + + Droid Sans Thai + + Droid Sans + + + + sans-serif + + Droid Sans + + + + Droid Sans + + sans-serif + + + diff --git a/abs/extra/ttf-droid/sans-mono-fontconfig.conf b/abs/extra/ttf-droid/sans-mono-fontconfig.conf new file mode 100644 index 0000000..1cf8bbc --- /dev/null +++ b/abs/extra/ttf-droid/sans-mono-fontconfig.conf @@ -0,0 +1,16 @@ + + + + + monospace + + Droid Sans Mono + + + + Droid Sans Mono + + monospace + + + diff --git a/abs/extra/ttf-droid/serif-fontconfig.conf b/abs/extra/ttf-droid/serif-fontconfig.conf new file mode 100644 index 0000000..368f361 --- /dev/null +++ b/abs/extra/ttf-droid/serif-fontconfig.conf @@ -0,0 +1,64 @@ + + + + + + Droid Serif + + + 2 + + + + + Droid Arabic Naskh + + + Droid Serif + + + Droid Serif + + + 1 + + + + + Droid Arabic Naskh Bold + + + Droid Serif + + + Droid Serif Bold + + + 1 + + + + Droid Arabic Naskh + + Droid Serif + + + + Droid Naskh Shift Alt + + Droid Serif + + + + serif + + Droid Serif + + + + Droid Serif + + serif + + + diff --git a/abs/extra/ttf-liberation/30-0-liberation-mono.conf b/abs/extra/ttf-liberation/30-0-liberation-mono.conf new file mode 100644 index 0000000..91b2f57 --- /dev/null +++ b/abs/extra/ttf-liberation/30-0-liberation-mono.conf @@ -0,0 +1,18 @@ + + + + + + Courier New + + Liberation Mono + + + + Liberation Mono + + Courier New + + + + diff --git a/abs/extra/ttf-liberation/30-0-liberation-sans.conf b/abs/extra/ttf-liberation/30-0-liberation-sans.conf new file mode 100644 index 0000000..ab592b7 --- /dev/null +++ b/abs/extra/ttf-liberation/30-0-liberation-sans.conf @@ -0,0 +1,18 @@ + + + + + + Arial + + Liberation Sans + + + + Liberation Sans + + Arial + + + + diff --git a/abs/extra/ttf-liberation/30-0-liberation-serif.conf b/abs/extra/ttf-liberation/30-0-liberation-serif.conf new file mode 100644 index 0000000..4aafd48 --- /dev/null +++ b/abs/extra/ttf-liberation/30-0-liberation-serif.conf @@ -0,0 +1,18 @@ + + + + + + Times New Roman + + Liberation Serif + + + + Liberation Serif + + Times New Roman + + + + diff --git a/abs/extra/ttf-liberation/PKGBUILD b/abs/extra/ttf-liberation/PKGBUILD index 572ae06..a91379c 100644 --- a/abs/extra/ttf-liberation/PKGBUILD +++ b/abs/extra/ttf-liberation/PKGBUILD @@ -1,4 +1,4 @@ -# $Id$ +# $Id: PKGBUILD 80169 2012-11-17 12:41:05Z lfleischer $ # Maintainer: Lukas Fleischer # Contributor: Ronald van Haren # Contributor: Roman Kyrylych @@ -7,17 +7,23 @@ # Contributor: Stefan Husmann < stefan-husmann@t-online.de> pkgname=ttf-liberation -pkgver=1.07.1 +pkgver=2.00.1 pkgrel=2 pkgdesc='Red Hats Liberation fonts.' arch=('any') -license=('custom' 'GPL2') +license=('custom:OFL') url='https://www.redhat.com/promo/fonts/' depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils') makedepends=('fontforge') install=ttf.install -source=("https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-$pkgver.tar.gz") -md5sums=('0be45d54cc5e1c2e3102e32b8c190346') +source=("https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-ttf-$pkgver.tar.gz" + 30-0-liberation-mono.conf + 30-0-liberation-sans.conf + 30-0-liberation-serif.conf) +md5sums=('5c781723a0d9ed6188960defba8e91cf' + '23ce227d5d72c6df2c69caf367d96341' + '88e91e718053d46cb1215067ffb0024a' + '5bc229f0f7ad387f1ba311148fcbff00') package() { cd "$srcdir/liberation-fonts-ttf-$pkgver" @@ -25,7 +31,13 @@ package() { install -d "$pkgdir/usr/share/fonts/TTF/" install -m644 *.ttf "$pkgdir/usr/share/fonts/TTF/" + # install fontconfig files + install -Dm0644 ../30-0-liberation-mono.conf "$pkgdir/etc/fonts/conf.avail/30-$pkgname-mono.conf" + install -Dm0644 ../30-0-liberation-sans.conf "$pkgdir/etc/fonts/conf.avail/30-$pkgname-sans.conf" + install -Dm0644 ../30-0-liberation-serif.conf \ + "$pkgdir/etc/fonts/conf.avail/30-$pkgname-serif.conf" + # install license - install -Dm644 "${srcdir}/liberation-fonts-ttf-${pkgver}/License.txt" \ - "${pkgdir}/usr/share/licenses/${pkgname}/License.txt" + install -Dm644 "${srcdir}/liberation-fonts-ttf-${pkgver}/LICENSE" \ + "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } -- cgit v0.12