summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzxp198210052023-09-28 16:41:50 +0800
committerzxp198210052023-09-28 16:41:50 +0800
commit7f8c2b8ee35e2dd0612ba30d5de466a737908e9a (patch)
tree4922e308396213a7090923b76b0408daa2e64e94
parent749cb56d713a9b9165432bc600841be672695b74 (diff)
downloadaur-7f8c2b8ee35e2dd0612ba30d5de466a737908e9a.tar.gz
fix errors
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD2
2 files changed, 5 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ae3d58de996c..8fe48df611e0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,6 +5,9 @@ pkgbase = otf-maoken-heavy-labourer
url = https://www.maoken.com/freefonts/11067.html
arch = any
license = custom:SIL1.1
+ provides = maoken-heavy-labourer
+ conflicts = otf-maoken-heavy-labourer
+ conflicts = ttf-maoken-heavy-labourer
source = maoken-heavy-labourer-gothic-regular.otf::https://github.com/NightFurySL2001/maoken-heavy-labourer/releases/download/v1.001/MaokenHeavyLabourer-Gothic-Regular.otf
source = maoken-heavy-labourer-ming-regular.otf::https://github.com/NightFurySL2001/maoken-heavy-labourer/releases/download/v1.001/MaokenHeavyLabourer-Ming-Regular.otf
source = maoken-heavy-labourersc-gothic-regular.otf::https://github.com/NightFurySL2001/maoken-heavy-labourer/releases/download/v1.001/MaokenHeavyLabourerSC-Gothic-Regular.otf
diff --git a/PKGBUILD b/PKGBUILD
index 3ee7fe5047dc..e5dd8e97c5ed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,6 +8,8 @@ arch=("any")
url="https://www.maoken.com/freefonts/11067.html"
_githuburl='https://github.com/NightFurySL2001/maoken-heavy-labourer'
license=("custom:SIL1.1")
+provides=("${_pkgname}")
+conflicts=("${pkgname}" ttf-"${_pkgname}")
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"