mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
36 lines
995 B
Bash
36 lines
995 B
Bash
# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
|
|
|
|
pkgname=ttf-comme
|
|
_pkgname=commeFont
|
|
pkgver=1.0
|
|
pkgrel=2
|
|
depends=('fontconfig' 'xorg-font-utils')
|
|
makedepends=('git')
|
|
pkgdesc="Comme is a fork from the Oxygen Font family, designed for Free desktops and UI's."
|
|
arch=('x86_64')
|
|
license=('OFL' 'GPL')
|
|
url=('https://github.com/vernnobile/commeFont')
|
|
source=(git+https://github.com/vernnobile/commeFont.git)
|
|
install=$pkgname.install
|
|
md5sums=('SKIP')
|
|
|
|
package()
|
|
{
|
|
cd "${srcdir}/${_pkgname}"
|
|
|
|
# License
|
|
install -m755 -d "${pkgdir}"/usr/share/licenses/"${pkgname}"
|
|
install -m644 OFL.txt "${pkgdir}"/usr/share/licenses/"${pkgname}"/OFL.txt
|
|
install -m644 GPL.txt "${pkgdir}"/usr/share/licenses/"${pkgname}"/GPL.txt
|
|
|
|
cd "${srcdir}/${_pkgname}/CommeSans"
|
|
|
|
# CommeSans
|
|
install -m755 -d "${pkgdir}"/usr/share/fonts/TTF/
|
|
install -Dm644 *.ttf "${pkgdir}"/usr/share/fonts/TTF/
|
|
|
|
# NOTE: CommeMono is not yet ready
|
|
#cd "${srcdir}/${_pkgname}/CommeMono"
|
|
|
|
}
|