From 072234a32659cc78375e5e10d7c884a541282e13 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Thu, 15 Dec 2016 07:53:50 +0000 Subject: testing/ttf-font-awesome: new aport --- testing/ttf-font-awesome/APKBUILD | 29 ++++++++++++++++++++++ .../ttf-font-awesome/ttf-font-awesome.post-install | 4 +++ 2 files changed, 33 insertions(+) create mode 100644 testing/ttf-font-awesome/APKBUILD create mode 100644 testing/ttf-font-awesome/ttf-font-awesome.post-install diff --git a/testing/ttf-font-awesome/APKBUILD b/testing/ttf-font-awesome/APKBUILD new file mode 100644 index 0000000000..60620198d0 --- /dev/null +++ b/testing/ttf-font-awesome/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=ttf-font-awesome +_pkgname=Font-Awesome +pkgver=4.7.0 +pkgrel=0 +pkgdesc="Iconic font designed for Bootstrap TTF file only" +url="http://fortawesome.github.io/Font-Awesome/" +arch="noarch" +license="CCPL" +depends="fontconfig mkfontdir mkfontscale" +makedepends="font-util-dev" +install="$pkgname.post-install" +source="$pkgname-$pkgver.tar.gz::https://github.com/FortAwesome/$_pkgname/archive/v$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + cd "$builddir" + return 0 +} + +package() { + cd "$builddir" + install -d "$pkgdir/usr/share/fonts/TTF" + install -m644 fonts/*.ttf "$pkgdir/usr/share/fonts/TTF/" +} +md5sums="a6145901f233f7d54165d8ade779082e ttf-font-awesome-4.7.0.tar.gz" +sha256sums="de512ba0e1dead382bbfce372cde74b3f18971d876fffb635ee9333f0db05d43 ttf-font-awesome-4.7.0.tar.gz" +sha512sums="913e5eec2211111e9601c92059745344766f4c3a6f3563cbc6f8a5f3850a0101bab8f3f992a97c6f1c264a2bbb5163f3feecc6b3f64fcb22c9592d2d38cc777d ttf-font-awesome-4.7.0.tar.gz" diff --git a/testing/ttf-font-awesome/ttf-font-awesome.post-install b/testing/ttf-font-awesome/ttf-font-awesome.post-install new file mode 100644 index 0000000000..984457d3e1 --- /dev/null +++ b/testing/ttf-font-awesome/ttf-font-awesome.post-install @@ -0,0 +1,4 @@ +#!/bin/sh +fc-cache -f > /dev/null +mkfontscale /usr/share/fonts/TTF +mkfontdir /usr/share/fonts/TTF -- cgit v1.2.3