diff options
author | James Meyer <james.meyer@operamail.com> | 2012-11-26 14:58:38 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-11-26 14:58:38 (GMT) |
commit | 35848eb77301fe20bc9808caade9d2f3a0e966ba (patch) | |
tree | be3572b2b6aaf19c2ba29d33710bcf6f81058ab1 /abs/extra/terminus-font | |
parent | 48b29ffdcc0604e7efae8ffae80c401aa8540f7e (diff) | |
download | linhes_pkgbuild-35848eb77301fe20bc9808caade9d2f3a0e966ba.zip linhes_pkgbuild-35848eb77301fe20bc9808caade9d2f3a0e966ba.tar.gz linhes_pkgbuild-35848eb77301fe20bc9808caade9d2f3a0e966ba.tar.bz2 |
added some ttf fonts:
terminus-font
ttf-droid
ttf-liberation
Diffstat (limited to 'abs/extra/terminus-font')
-rw-r--r-- | abs/extra/terminus-font/PKGBUILD | 38 | ||||
-rw-r--r-- | abs/extra/terminus-font/install.proto | 27 | ||||
-rw-r--r-- | abs/extra/terminus-font/terminus-font.install | 11 |
3 files changed, 28 insertions, 48 deletions
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 <vegai@iki.fi> -# Contributor: Kristoffer Fossgård <kfs1@online.no> +# Contributor: Kristoffer FossgÃ¥rd <kfs1@online.no> + 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 } - |