34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=ttf-liberation
|
|
pkgver=2.1.5
|
|
pkgrel=01
|
|
pkgdesc='Font family which aims at metric compatibility with Arial, Times New Roman, and Courier New'
|
|
arch=('any')
|
|
url=https://github.com/liberationfonts/liberation-fonts
|
|
makedepends=('fontforge' 'python-fonttools')
|
|
provides=('ttf-font')
|
|
groups=(joborun-pkg-X)
|
|
source=("$url/archive/$pkgver/liberation-fonts-$pkgver.tar.gz")
|
|
|
|
build() {
|
|
cd liberation-fonts-$pkgver
|
|
make build
|
|
}
|
|
|
|
package() {
|
|
cd liberation-fonts-$pkgver
|
|
install -Dm644 -t "$pkgdir/usr/share/fonts/${pkgname#ttf-}" \
|
|
liberation-fonts-ttf-$pkgver/*.ttf
|
|
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=('custom:OFL')
|
|
|
|
sha256sums=(9a823ccb33c8a8a865e84b982bcdc44d03ba4914adb91e6000df035dc0e55936) # liberation-fonts-2.1.5.tar.gz
|