blob: 79d8dc0a0c46be348ff3c168762ecc2daab4b9f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: mrxx <mrxx at cyberhome dot at>
# Contributor: Shane Stone <shanewstone at gmail>
pkgname=ttf-font-logos
pkgver=1.3.0
pkgrel=1
pkgdesc="An icon font providing popular Linux distro logos."
arch=(any)
replaces=('ttf-font-linux')
url="https://github.com/lukas-w/font-logos"
license=('Unlicense')
makedepends=('yarn' 'jq' 'fontforge')
depends=('fontconfig')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('617e16a05940f2e32f72eb9d3dedc8d6077c8f86bd75d2ed24f7d6333fb5eeed')
build() {
cd font-logos-$pkgver/
sed -i '/^$(dest)\/readme-header.png/d' Makefile
sed -i '/^.*wkhtmltoimage/d' Makefile
yarn install
make
}
package() {
cd font-logos-$pkgver/
install -d "$pkgdir/usr/share/fonts/TTF"
install -m644 assets/*.ttf "$pkgdir/usr/share/fonts/TTF"
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|