summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2857bc2defe060ef5c3fccb5c2ff4c61b75e064d (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
31
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
_pkgname=maoken-heavy-labourer
pkgname="ttf-${_pkgname}"
pkgver=1.001
pkgdesc="Maoken Heavy Labourer | 猫啃网扛重族"
pkgrel=4
arch=("any")
url="https://www.maoken.com/freefonts/11067.html"
_githuburl='https://github.com/NightFurySL2001/maoken-heavy-labourer'
license=("OFL-1.1")
provides=("${_pkgname}")
conflicts=(
    "${pkgname}"
    "otf-${_pkgname}"
)
source=(
    "${pkgname}-gothic-regular.ttf::${_githuburl}/releases/download/v${pkgver}/MaokenHeavyLabourer-Gothic-Regular.ttf"
    "${pkgname}-ming-regular.ttf::${_githuburl}/releases/download/v${pkgver}/MaokenHeavyLabourer-Ming-Regular.ttf"
    "${pkgname}-sc-gothic-regular.ttf::${_githuburl}/releases/download/v${pkgver}/MaokenHeavyLabourerSC-Gothic-Regular.ttf"
    "${pkgname}-sc-ming-regular.ttf::${_githuburl}/releases/download/v${pkgver}/MaokenHeavyLabourerSC-Ming-Regular.ttf"
    "LICENSE-${pkgver}.txt::https://raw.githubusercontent.com/NightFurySL2001/maoken-heavy-labourer/main/LICENSE.txt"
)
sha256sums=('89e227befec73fb5daf2c96cd39b33c40e0f9452bbaa0dcc18902a6452bc9165'
            'd1627b387f2c03d9c5ffd49b6e20613de4b845813936c318194db83a4d0f887e'
            '8f33e4003a365fc73c64b929b5b444b862982ab7f49198d34c3bdf631c2ceec8'
            'b8c98b3418f4675b925390e208d90b8d5e15922bc6063741633bef96d2244ccf'
            '9b4364250e518bb44aee5d7d0a19f9981c6c84576afc7d077e5726db0b6db479')
package() {
    install -Dm444 "${srcdir}/"*.ttf -t "${pkgdir}/usr/share/fonts/TTF"
    install -Dm644 "${srcdir}/LICENSE-${pkgver}.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
}