desktop/ttf-comme/PKGBUILD

35 lines
968 B
Bash
Raw Normal View History

2014-04-23 15:50:01 +08:00
# Maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
pkgname=ttf-comme
_pkgname=commeFont
pkgver=1.0
2018-06-24 02:49:51 +08:00
pkgrel=3
2014-04-23 15:50:01 +08:00
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'
2014-04-23 15:50:01 +08:00
source=(git+https://github.com/vernnobile/commeFont.git)
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"
}