aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/terminus-font/APKBUILD38
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"