[aur-requests] [PRQ#3817] Merge Request for ttf-nanumgothic_coding

notify at aur.archlinux.org notify at aur.archlinux.org
Fri Jul 31 21:11:42 UTC 2015


wind0204 [1] filed a request to merge ttf-nanumgothic_coding [2] into 
[3]:


it wouldn't successfully build in my arch box with complaining about
absence of package(). so I made a patch to get it built. thanx.

cat patch
--- PKGBUILD    2015-08-01 06:04:50.064291184 +0900
+++ PKGBUILD.new        2015-08-01 06:05:44.267327081 +0900
@@ -2,24 +2,24 @@
 # Contributor: atie H. <atie.at.matrix at gmail.com>
 
 pkgname=ttf-nanumgothic_coding
-pkgver=2.0
+pkgver=2.0.1
 pkgrel=1
 pkgdesc="Nanum series fixed width TrueType fonts"
 arch=('any')
 url="http://dev.naver.com/projects/nanumfont"
 license=('OFL')
 depends=('fontconfig' 'xorg-font-utils')
+provides=('ttf-font')
 install=ttf.install
 source=('http://dev.naver.com/frs/download.php/441/NanumGothicCoding-2.0.zip')
 md5sums=('6214a5844454c96faeac9a60539c7daf')
 
-build() {
-    cd $pkgdir
-
-    install -d -m 755 usr/share/fonts/TTF || return 1
+package() {
+       install -dm 755 ${pkgdir}/usr/share/fonts/TTF
 
     # Use hack to rename non-utf8 filenames to english
-    install -m 644 ${srcdir}/*Bold.ttf
usr/share/fonts/TTF/NanumGothicCoding-Bold.ttf || return 1
-    rm ${srcdir}/*Bold.ttf
-    install -m 644 ${srcdir}/*.ttf
usr/share/fonts/TTF/NanumGothicCoding.ttf || return 1
+       install -m 644 -T ${srcdir}/*Bold.ttf
${pkgdir}/usr/share/fonts/TTF/NanumGothicCoding-Bold.ttf
+       rm ${srcdir}/*Bold.ttf
+       install -m 644 -T ${srcdir}/*.ttf
${pkgdir}/usr/share/fonts/TTF/NanumGothicCoding.ttf
 }
+


[1] https://aur4.archlinux.org/account/wind0204/
[2] https://aur4.archlinux.org/pkgbase/ttf-nanumgothic_coding/
[3] https://aur4.archlinux.org/pkgbase//


More information about the aur-requests mailing list