makedeb
Good looking Japanese TrueType font by mixing M+ and IPA.
Click here to go back to the commit logs for ttf-migu.
Hash: 297ad09eadcdb00ec0dc2528f6aca88c39c162b8
Message: added replace function and some improvements
diff --git a/.SRCINFO b/.SRCINFO
index ceeea9f..0334d7b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,6 +8,9 @@ pkgbase = ttf-migu
arch = any
license = custom
depends = fontconfig
+ provides = ttf-migu
+ conflicts = ttf-migu
+ replaces = ttf-migu
source = https://osdn.net/projects/mix-mplus-ipa/downloads/72511/migu-1c-20200307.zip
source = https://osdn.net/projects/mix-mplus-ipa/downloads/72511/migu-1m-20200307.zip
source = https://osdn.net/projects/mix-mplus-ipa/downloads/72511/migu-1p-20200307.zip
diff --git a/PKGBUILD b/PKGBUILD
index ab8b3bf..625cad8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,6 +8,9 @@ arch=('any')
url="http://mix-mplus-ipa.osdn.jp/migu/"
license=('custom')
depends=('fontconfig')
+provides=('ttf-migu')
+conflicts=('ttf-migu')
+replaces=('ttf-migu')
_mirror="osdn"
source=("https://${_mirror}.net/projects/mix-mplus-ipa/downloads/${_release}/migu-1c-${pkgver}.zip"
"https://${_mirror}.net/projects/mix-mplus-ipa/downloads/${_release}/migu-1m-${pkgver}.zip"
@@ -21,11 +24,11 @@ sha256sums=('6324807e7a7a7738298d86a0b4fcbd3f5f0180416a98a15aa552bdf801b10e0e'
package() {
cd ${srcdir}
- install -d ${pkgdir}/usr/share/fonts/TTF
- install -m644 */*.ttf ${pkgdir}/usr/share/fonts/TTF
+ install -d "${pkgdir}/usr/share/fonts/TTF"
+ install -m644 */*.ttf "${pkgdir}/usr/share/fonts/TTF"
- install -D -m644 migu-1c-*/migu-README.txt \
- ${pkgdir}/usr/share/licenses/${pkgname}/COPYING.txt
- install -D -m644 migu-1c-*/ipag00303/IPA_Font_License_Agreement_v1.0.txt \
- ${pkgdir}/usr/share/licenses/${pkgname}/COPYING_IPA.txt
+ install -D -m644 migu-1c-*"/migu-README.txt" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.txt"
+ install -D -m644 migu-1c-*"/ipag00303/IPA_Font_License_Agreement_v1.0.txt" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/COPYING_IPA.txt"
}