diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-04-01 11:52:00 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-04-01 11:54:08 +0200 |
commit | 695e8beb15a76f2a02d8198fdfc376fd5a5d3c42 (patch) | |
tree | 9e5ac5809c580834d5da906ad104762c80d37308 | |
parent | 1e7450f543cd93dca4c5c3c83684ba2d7d1995bd (diff) | |
download | aports-695e8beb15a76f2a02d8198fdfc376fd5a5d3c42.tar.bz2 aports-695e8beb15a76f2a02d8198fdfc376fd5a5d3c42.tar.xz |
testing/terminus-font: upgrade to 4.40
-rw-r--r-- | testing/terminus-font/APKBUILD | 46 |
1 files changed, 20 insertions, 26 deletions
diff --git a/testing/terminus-font/APKBUILD b/testing/terminus-font/APKBUILD index 1a98fa5875..0206664b76 100644 --- a/testing/terminus-font/APKBUILD +++ b/testing/terminus-font/APKBUILD @@ -1,27 +1,21 @@ -# Contributor: Orion <systmkor_at_gmail.com> -# Maintainer: Orion <systmkor_at_gmail.com> -# Reference -# https://www.archlinux.org/packages/community/any/terminus-font/ - +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Contributor: Orion <systmkor@gmail.com> +# Maintainer: Orion <systmkor@gmail.com> pkgname=terminus-font -pkgver=4.39 +pkgver=4.40 pkgrel=0 pkgdesc="Monospace bitmap font (for X11 and console)" -url="http://sourceforge.net/projects/terminus-font/" +url="http://terminus-font.sourceforge.net/" arch="noarch" license="GPL2 custom:OFL" depends="" depends_dev="" -makedepends="$depends_dev bdftopcf fontconfig mkfontscale mkfontdir perl" +makedepends="bdftopcf fontconfig mkfontscale mkfontdir perl" install="" subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz" - -_builddir=${srcdir}/${pkgname}-${pkgver} -prepare() { - return 0 -} +source="http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz" +_builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" make \ @@ -39,20 +33,20 @@ package() { DESTDIR="$pkgdir" install \ || return 1 - mkdir -p "$pkgdir"/usr/share/doc/$pkgname - for file in README README-BG; do - mv "${file}" "$pkgdir"/usr/share/doc/$pkgname/ || return 1 - done + install -d "$pkgdir"/usr/share/doc/$pkgname + install -Dm655 README README-BG \ + "$pkgdir"/usr/share/doc/$pkgname/ || return 1 - install -Dm644 "${_builddir}/75-yes-terminus.conf" \ - "$pkgdir/etc/fonts/conf.avail/75-yes-terminus.conf" - install -Dm644 "${_builddir}/OFL.TXT" \ - "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 75-yes-terminus.conf \ + "$pkgdir"/etc/fonts/conf.avail/75-yes-terminus.conf + install -Dm644 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 . + ln -s ../conf.avail/75-yes-terminus.conf . || return 1 } -md5sums="1ec1bee67a1c017f349bc8558b2d4fa6 terminus-font-4.39.tar.gz" -sha256sums="3108383986b365a4b9cc08c31a4195196f6de974d2735d77f6c6efa9feb1f5bf terminus-font-4.39.tar.gz" -sha512sums="d2b1c55584eabf423a455ea11d90ba8037b4e5823c677a8c604de1e41c55d829b743db2d1932cd755064db681fcd0b5be8484439ddde4394955d0af5174ff591 terminus-font-4.39.tar.gz" +md5sums="1e1df0d2c612c374ebe7966f90f04e0c terminus-font-4.40.tar.gz" +sha256sums="64f52c24d3f1c1e39f21e6c43077a9be3e21d4384f176f5766c00558ba670711 terminus-font-4.40.tar.gz" +sha512sums="843da1f51e37d48ae88c88def965ed96c2236c183fb596705290a96eba41256a02197a298439b83913eb7679b32c2a8f44dd04de031be4db56285efd3d4c6900 terminus-font-4.40.tar.gz" |