summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5607177bf01d458b60c7df1230fdd043178e4224 (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
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
_pkgname=maoken-heavy-labourer
pkgname="otf-${_pkgname}"
pkgver=1.001
pkgrel=3
pkgdesc="Maoken Heavy Labourer | 猫啃网扛重族"
arch=(any)
url="https://www.maoken.com/freefonts/11067.html"
_githuburl='https://github.com/NightFurySL2001/maoken-heavy-labourer'
license=(custom:SIL1.1)
depends=()
makedepends=()
source=("${_pkgname}-gothic-regular.otf::${_githuburl}/releases/download/v${pkgver}/MaokenHeavyLabourer-Gothic-Regular.otf"
    "${_pkgname}-ming-regular.otf::${_githuburl}/releases/download/v${pkgver}/MaokenHeavyLabourer-Ming-Regular.otf"
    "${_pkgname}sc-gothic-regular.otf::${_githuburl}/releases/download/v${pkgver}/MaokenHeavyLabourerSC-Gothic-Regular.otf"
    "${_pkgname}sc-ming-regular.otf::${_githuburl}/releases/download/v${pkgver}/MaokenHeavyLabourerSC-Ming-Regular.otf"
    "LICENSE.txt::https://raw.githubusercontent.com/NightFurySL2001/maoken-heavy-labourer/main/LICENSE.txt")
sha256sums=('c6c4506799e89bdeb6e708d0739ea62af56ce710954793fb18c31320da4f55ab'
            '24cbb6cba4d1dbbf10c019b9ea49edf60e7684dd9093b4e858e277429985ab3f'
            '76a63996daa20e493d4bcd1c1ee8754b8a15300abe904412e30ac9c631a5e89b'
            'cc2ed989b782944d3e04ceeac4f76fa5f7e0139a24b658b63991cf041f5f5ca7'
            '9b4364250e518bb44aee5d7d0a19f9981c6c84576afc7d077e5726db0b6db479')
package() {
    install -Dm444 "${srcdir}/"*.otf -t "${pkgdir}/usr/share/fonts/OTF"
    install -Dm644 "${srcdir}/LICENSE.txt" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}