Skip to content

Instantly share code, notes, and snippets.

@aruneko
Forked from laughk/ttf-cica_PKGBUILD.sh
Created August 8, 2018 07:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aruneko/be06f3a49bd04a29f106c38edb882f34 to your computer and use it in GitHub Desktop.
Save aruneko/be06f3a49bd04a29f106c38edb882f34 to your computer and use it in GitHub Desktop.
[For Archilinux] 手っ取り早く Cica v3 を使いたかったので AUR の PKGBUILD を以下のように編集して突っ込んだ。
# Maintainer: yuhr <sdn.pate(at)gmail.com>
pkgname=ttf-cica
pkgver=3.0.0
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=('a289aaefc87eb5f66a8727d86cdc79bb')
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}/"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment