desktop/oxygen-fonts/PKGBUILD
2014-09-17 19:28:29 +00:00

42 lines
884 B
Bash

# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../plasma.conf
pkgname=oxygen-fonts
pkgver=0.4.2
pkgrel=1
pkgdesc='The Oxygen font family. A desktop/gui font family for integrated use with the KDE desktop.'
arch=('x86_64')
url='https://projects.kde.org/projects/playground/artwork/oxygen-fonts'
license=('LGPL')
depends=('qt5-base')
makedepends=('fontforge')
checkdepends=('cmake' 'extra-cmake-modules')
groups=('plasma')
options=("debug")
source=("${PServer}/${PVersion}/${pkgname}-${pkgver}.tar.xz")
sha256sums=( $(getSum ${pkgname} | head -n 1) )
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=${PBuildType} \
-DCMAKE_INSTALL_PREFIX=${PInstallPrefix} \
-DLIB_INSTALL_DIR=lib
make
}
check() {
cd build
make test || return 0
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}