summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d6f37b6f39cd75aac8737dc49a9150f3986e96fb (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
# Contributor : marin <turquoise.hexagon@protonmail.com>

pkgname=cherry-font-git
pkgver=1.0
pkgrel=3
pkgdesc='cherry, yet another bitmap font'
url=https://github.com/turquoise-hexagon/cherry
source=("$pkgname::git+https://github.com/turquoise-hexagon/cherry")
licence=('MIT')
arch=('any')
provides=('cherry-font')
conflicts=('cherry-font')
makedepends=('git' 'xorg-fonttosfnt')
install="$pkgname.install"
md5sums=('SKIP')
sha256sums=('SKIP')

build() {
    cd "$srcdir/$pkgname"

    ./make.sh
}

package() {
    cd "$srcdir/$pkgname"

    install -d -m755 "$pkgdir/usr/share/fonts/misc"
    install -D -m644 *.otb "$pkgdir/usr/share/fonts/misc"
    install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}