summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7cee3ba3a8f1d310d0a31b5d2f565a166ca5326b (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: zxp19821005 <zxp19821005 at 163 dot com>
_pkgname=maoken-heavy-labourer
pkgname="otf-${_pkgname}"
pkgver=1.001
pkgrel=4
pkgdesc="Maoken Heavy Labourer | 猫啃网扛重族"
arch=("any")
url="https://www.maoken.com/freefonts/11067.html"
_ghurl='https://github.com/NightFurySL2001/maoken-heavy-labourer'
license=("OFL-1.1")
conflicts=(
    "${pkgname}"
    ttf-"${_pkgname}"
)
source=(
    "${pkgname}-gothic-regular.otf::${_ghurl}/releases/download/v${pkgver}/MaokenHeavyLabourer-Gothic-Regular.otf"
    "${pkgname}-ming-regular.otf::${_ghurl}/releases/download/v${pkgver}/MaokenHeavyLabourer-Ming-Regular.otf"
    "${pkgname}-sc-gothic-regular.otf::${_ghurl}/releases/download/v${pkgver}/MaokenHeavyLabourerSC-Gothic-Regular.otf"
    "${pkgname}-sc-ming-regular.otf::${_ghurl}/releases/download/v${pkgver}/MaokenHeavyLabourerSC-Ming-Regular.otf"
    "LICENSE-${pkgver}.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-${pkgver}.txt" "${pkgdir}/usr/share/licenses/${pkgname}//LICENSE.txt"
}