mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 12:54:35 +08:00
40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
#
|
|
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
|
# Contributor: Antonio Rojas <nqn1976 @ gmail.com>
|
|
|
|
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}
|
|
}
|