blob: 1317c1885a0f48652f8b2b173a5f1c4283a01f1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Contributor: Brett Cornwall <ainola@archlinux.org>
# Contributor: Alexander F. Rødseth <xyproto@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=ttf-ionicons
# TODO: Newer versions of ionicons don't come with any .ttf; They only
# distribute SVGs.
pkgver=4.2.0
epoch=1
pkgrel=1
pkgdesc='Font from the Ionic mobile framework'
arch=('any')
license=('MIT')
url='https://ionicons.com/'
source=("$pkgname-$pkgver.tar.gz::https://github.com/ionic-team/ionicons/archive/v${pkgver/_/-}.tar.gz")
sha256sums=('33d85e4f970edea75dbe11626075834a5142c5cd817f61c9b505270addb49414')
package() {
cd "ionicons-${pkgver/_/-}"
install -Dm644 docs/fonts/ionicons.ttf -t "$pkgdir/usr/share/fonts/TTF/"
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}
|