Last active
August 22, 2019 01:10
-
-
Save laughk/4ab42d1c6ac40af9fab063a07924f1ba to your computer and use it in GitHub Desktop.
[v5 以降は必要なさそう] [For Archilinux] 手っ取り早く Cica v4 を使いたかったので AUR の PKGBUILD を以下のように編集して突っ込んだ。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: yuhr <sdn.pate(at)gmail.com> | |
pkgname=ttf-cica | |
pkgver=4.1.1 | |
pkgrel=1 | |
pkgdesc="Composite font with Ubuntu Mono and Rounded Mgen+." | |
url="https://github.com/miiton/Cica" | |
license=('custom') | |
arch=('any') | |
depends=('fontconfig' 'xorg-font-utils') | |
install=$pkgname.install | |
source=(https://github.com/miiton/Cica/releases/download/v${pkgver}/Cica-v${pkgver}.zip) | |
md5sums=('3244058131a3c9a4f0055bf989d64a2b') | |
package() { | |
install -dm755 "${pkgdir}"/usr/share/fonts/TTF | |
install -m644 *.ttf "${pkgdir}"/usr/share/fonts/TTF/ | |
install -d "${pkgdir}/usr/share/licenses/${pkgname}/" | |
install -Dm644 *.txt "${pkgdir}/usr/share/licenses/${pkgname}/" | |
} |
2019-08-22 時点では AUR 側がちゃんと Update されたみたいで v5 以降はこの Gist にある内容無視で普通に install すればよさそう
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yay ( https://github.com/Jguer/yay ) でやる場合 PKGBUILD.sh の編集画面がデフォルトだと出ないので
--editmenu
オプションをつけてやると良いです ( @laughk は最近 yaourt ではなく yay を使っている)$ yay -S --editmenu ttf-cica