summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 601604a571b8463fe0f153dc6669cb6b69a01465 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Alex Whitt <alex.joseph.whitt@gmail.com>

pkgname=ttf-octicons
pkgver=4.3.0
pkgrel=1
pkgdesc="A scalable set of icons handcrafted with <3 by GitHub"
arch=('any')
license=('MIT')
url="http://octicons.github.com/"
makedepends=('git')
depends=('fontconfig' 'xorg-font-utils')
source=("https://github.com/primer/octicons/archive/v${pkgver}.tar.gz")
sha256sums=('SKIP')
install=$pkgname.install

package() {
  cd "${srcdir}/octicons-${pkgver}"
  install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE

  install -d $pkgdir/usr/share/fonts/TTF/
  install -m644 build/font/octicons.ttf $pkgdir/usr/share/fonts/TTF/
}