# # Contributor: Andrea Scarpino # Contributor: Antonio Rojas pkgname=ttf-oxygen pkgver=5.1.95 pkgrel=1 pkgdesc='The Oxygen font family. A desktop/gui font family for integrated use with the KDE desktop' url='https://projects.kde.org/projects/kde/workspace/oxygen-fonts' arch=('any') license=('custom:OFL' 'GPL' 'custom:GPL+FE') depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils') makedepends=('extra-cmake-modules' 'qt5-base' 'fontforge') provides=('ttf-font') install=${pkgname}.install source=("http://download.kde.org/stable/plasma/${pkgver}/oxygen-fonts-${pkgver}.tar.xz") md5sums=('ed714712a1f0ce48968283df586ed213') prepare() { mkdir build } build() { cd build cmake ../oxygen-fonts-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DLIB_INSTALL_DIR=lib make } package() { cd build make DESTDIR="${pkgdir}" install install -d "${pkgdir}"/usr/share/licenses/${pkgname} install -m644 "${srcdir}"/oxygen-fonts-${pkgver}/COPYING-{GPL+FE.txt,OFL} \ "${pkgdir}"/usr/share/licenses/${pkgname} }