diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-12-15 07:53:50 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-12-15 07:53:50 +0000 |
commit | 072234a32659cc78375e5e10d7c884a541282e13 (patch) | |
tree | e39803c140d2f4d88d2b4ef7c521b9a2ad369b0b /testing/ttf-font-awesome | |
parent | ac81757085dbc0e1b2671acf175065a11099f2d6 (diff) | |
download | aports-072234a32659cc78375e5e10d7c884a541282e13.tar.bz2 aports-072234a32659cc78375e5e10d7c884a541282e13.tar.xz |
testing/ttf-font-awesome: new aport
Diffstat (limited to 'testing/ttf-font-awesome')
-rw-r--r-- | testing/ttf-font-awesome/APKBUILD | 29 | ||||
-rw-r--r-- | testing/ttf-font-awesome/ttf-font-awesome.post-install | 4 |
2 files changed, 33 insertions, 0 deletions
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 <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +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 |