diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-04 09:12:25 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-04 09:12:25 +0000 |
commit | c43bfc5064d44127cbf17c4767fae2f06a3ac663 (patch) | |
tree | e5161317e4350f5513917f0ff83ad2c6fef43469 /testing/terminus-font/APKBUILD | |
parent | 38cdee7c84fe18c40ff2dad2e0fe6145ce2e8992 (diff) | |
download | aports-c43bfc5064d44127cbf17c4767fae2f06a3ac663.tar.bz2 aports-c43bfc5064d44127cbf17c4767fae2f06a3ac663.tar.xz |
testing/terminus-font: build fixes
Diffstat (limited to 'testing/terminus-font/APKBUILD')
-rw-r--r-- | testing/terminus-font/APKBUILD | 38 |
1 files changed, 22 insertions, 16 deletions
diff --git a/testing/terminus-font/APKBUILD b/testing/terminus-font/APKBUILD index 7dd8894b40..c80ac44467 100644 --- a/testing/terminus-font/APKBUILD +++ b/testing/terminus-font/APKBUILD @@ -12,34 +12,40 @@ arch="noarch" license="GPL2 custom:OFL" depends="" depends_dev="" -makedepends="$depends_dev bdftopcf fontconfig mkfontscale mkfontdir grep perl" +makedepends="$depends_dev bdftopcf fontconfig mkfontscale mkfontdir perl" install="" subpackages="" source="http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz" _builddir=${srcdir}/${pkgname}-${pkgver} prepare() { - chmod +x ${_builddir}/configure + return 0 } build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --x11dir=/usr/share/fonts/misc \ - --psfdir=/usr/share/kbd/consolefonts - make + cd "$_builddir" + make \ + prefix=/usr \ + x11dir=/usr/share/fonts/misc \ + psfdir=/usr/share/kbd/consolefonts } package() { - cd "$_builddir" - make -C ${_builddir} DESTDIR="$pkgdir" install - 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 -d "$pkgdir/etc/fonts/conf.d" - cd "$pkgdir/etc/fonts/conf.d" - ln -s ../conf.avail/75-yes-terminus.conf . + cd "$_builddir" + make \ + prefix=/usr \ + x11dir=/usr/share/fonts/misc \ + psfdir=/usr/share/kbd/consolefonts \ + DESTDIR="$pkgdir" install \ + || 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 -d "$pkgdir/etc/fonts/conf.d" + cd "$pkgdir/etc/fonts/conf.d" + ln -s ../conf.avail/75-yes-terminus.conf . } md5sums="1ec1bee67a1c017f349bc8558b2d4fa6 terminus-font-4.39.tar.gz" |