[arch-commits] Commit in ttf-oxygen/repos (6 files)
Felix Yan
fyan at archlinux.org
Tue Sep 8 14:51:52 UTC 2015
Date: Tuesday, September 8, 2015 @ 16:51:52
Author: fyan
Revision: 245530
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
ttf-oxygen/repos/testing-i686/
ttf-oxygen/repos/testing-i686/PKGBUILD
(from rev 245529, ttf-oxygen/trunk/PKGBUILD)
ttf-oxygen/repos/testing-i686/ttf-oxygen.install
(from rev 245529, ttf-oxygen/trunk/ttf-oxygen.install)
ttf-oxygen/repos/testing-x86_64/
ttf-oxygen/repos/testing-x86_64/PKGBUILD
(from rev 245529, ttf-oxygen/trunk/PKGBUILD)
ttf-oxygen/repos/testing-x86_64/ttf-oxygen.install
(from rev 245529, ttf-oxygen/trunk/ttf-oxygen.install)
-----------------------------------+
testing-i686/PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++
testing-i686/ttf-oxygen.install | 15 +++++++++++
testing-x86_64/PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++
testing-x86_64/ttf-oxygen.install | 15 +++++++++++
4 files changed, 126 insertions(+)
Copied: ttf-oxygen/repos/testing-i686/PKGBUILD (from rev 245529, ttf-oxygen/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-09-08 14:51:52 UTC (rev 245530)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=ttf-oxygen
+epoch=1
+pkgver=5.4.1
+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=('i686' 'x86_64') # CMake files are arch-dependent
+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')
+options=('!emptydirs')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/plasma/${pkgver}/oxygen-fonts-${pkgver}.tar.xz")
+md5sums=('88522f2478fdff511e02102861dab620')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../oxygen-fonts-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DLIB_INSTALL_DIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+
+ # Fix install path
+ install -d "${pkgdir}"/usr/share/fonts/TTF
+ mv "${pkgdir}"/usr/share/fonts/truetype/oxygen/*.ttf \
+ "${pkgdir}"/usr/share/fonts/TTF/
+
+ install -d "${pkgdir}"/usr/share/licenses/${pkgname}
+ install -m644 "${srcdir}"/oxygen-fonts-${pkgver}/COPYING-{GPL+FE.txt,OFL} \
+ "${pkgdir}"/usr/share/licenses/${pkgname}
+}
Copied: ttf-oxygen/repos/testing-i686/ttf-oxygen.install (from rev 245529, ttf-oxygen/trunk/ttf-oxygen.install)
===================================================================
--- testing-i686/ttf-oxygen.install (rev 0)
+++ testing-i686/ttf-oxygen.install 2015-09-08 14:51:52 UTC (rev 245530)
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -s
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
Copied: ttf-oxygen/repos/testing-x86_64/PKGBUILD (from rev 245529, ttf-oxygen/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-09-08 14:51:52 UTC (rev 245530)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=ttf-oxygen
+epoch=1
+pkgver=5.4.1
+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=('i686' 'x86_64') # CMake files are arch-dependent
+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')
+options=('!emptydirs')
+install=${pkgname}.install
+source=("http://download.kde.org/stable/plasma/${pkgver}/oxygen-fonts-${pkgver}.tar.xz")
+md5sums=('88522f2478fdff511e02102861dab620')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake ../oxygen-fonts-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DLIB_INSTALL_DIR=lib \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+
+ # Fix install path
+ install -d "${pkgdir}"/usr/share/fonts/TTF
+ mv "${pkgdir}"/usr/share/fonts/truetype/oxygen/*.ttf \
+ "${pkgdir}"/usr/share/fonts/TTF/
+
+ install -d "${pkgdir}"/usr/share/licenses/${pkgname}
+ install -m644 "${srcdir}"/oxygen-fonts-${pkgver}/COPYING-{GPL+FE.txt,OFL} \
+ "${pkgdir}"/usr/share/licenses/${pkgname}
+}
Copied: ttf-oxygen/repos/testing-x86_64/ttf-oxygen.install (from rev 245529, ttf-oxygen/trunk/ttf-oxygen.install)
===================================================================
--- testing-x86_64/ttf-oxygen.install (rev 0)
+++ testing-x86_64/ttf-oxygen.install 2015-09-08 14:51:52 UTC (rev 245530)
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -s
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
More information about the arch-commits
mailing list