[arch-commits] Commit in terminus-font/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Sun Sep 13 17:18:24 UTC 2015
Date: Sunday, September 13, 2015 @ 19:18:23
Author: arodseth
Revision: 140059
upgpkg: terminus-font 4.40-2
Modified:
terminus-font/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-09-13 17:18:02 UTC (rev 140058)
+++ PKGBUILD 2015-09-13 17:18:23 UTC (rev 140059)
@@ -7,7 +7,7 @@
pkgname=terminus-font
pkgver=4.40
-pkgrel=1
+pkgrel=2
pkgdesc='Monospace bitmap font (for X11 and console)'
arch=('any')
url='http://sourceforge.net/projects/terminus-font/'
@@ -16,7 +16,6 @@
optdepends=('xorg-fonts-alias')
depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
install='terminus-font.install'
-backup=('etc/fonts/conf.d/75-yes-terminus.conf')
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('64f52c24d3f1c1e39f21e6c43077a9be3e21d4384f176f5766c00558ba670711')
@@ -26,8 +25,8 @@
build() {
cd "$pkgname-$pkgver"
- ./configure --prefix=/usr \
- --x11dir=/usr/share/fonts/misc \
+
+ ./configure --prefix=/usr --x11dir=/usr/share/fonts/misc \
--psfdir=/usr/share/kbd/consolefonts
make
}
@@ -34,11 +33,13 @@
package() {
make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
+
install -Dm644 "$srcdir/$pkgname-$pkgver/75-yes-terminus.conf" \
"$pkgdir/etc/fonts/conf.avail/75-yes-terminus.conf"
install -Dm644 "$srcdir/$pkgname-$pkgver/OFL.TXT" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -d "$pkgdir/etc/fonts/conf.d"
+
cd "$pkgdir/etc/fonts/conf.d"
ln -s ../conf.avail/75-yes-terminus.conf .
}
More information about the arch-commits
mailing list