mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-14 16:19:03 +08:00
ttf-oxygen: remove from [platform] because it is in [desktop] now.
This commit is contained in:
parent
9b05e2dd12
commit
450f609a85
@ -1,39 +0,0 @@
|
||||
#
|
||||
# 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}
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
post_install() {
|
||||
echo -n "Updating font cache... "
|
||||
fc-cache -f > /dev/null
|
||||
mkfontscale /usr/share/fonts/truetype/oxygen
|
||||
mkfontdir /usr/share/fonts/truetype/oxygen
|
||||
echo "done."
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install $1
|
||||
}
|
Loading…
Reference in New Issue
Block a user