[arch-commits] Commit in ttf-oxygen/repos (3 files)

2015-04-28 Thread Antonio Rojas
Date: Tuesday, April 28, 2015 @ 09:08:32
  Author: arojas
Revision: 238080

archrelease: copy trunk to testing-any

Added:
  ttf-oxygen/repos/testing-any/
  ttf-oxygen/repos/testing-any/PKGBUILD
(from rev 238079, ttf-oxygen/trunk/PKGBUILD)
  ttf-oxygen/repos/testing-any/ttf-oxygen.install
(from rev 238079, ttf-oxygen/trunk/ttf-oxygen.install)

+
 PKGBUILD   |   48 
 ttf-oxygen.install |   15 +++
 2 files changed, 63 insertions(+)

Copied: ttf-oxygen/repos/testing-any/PKGBUILD (from rev 238079, 
ttf-oxygen/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2015-04-28 07:08:32 UTC (rev 238080)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan felixonm...@archlinux.org
+# Contributor: Andrea Scarpino and...@archlinux.org
+# Contributor: Antonio Rojas nqn1976 @ gmail.com
+
+pkgname=ttf-oxygen
+epoch=1
+pkgver=5.3.0
+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')
+options=('!emptydirs')
+install=${pkgname}.install
+source=(http://download.kde.org/stable/plasma/${pkgver}/oxygen-fonts-${pkgver}.tar.xz;)
+md5sums=('1899f95757694bf849ff0661797e09d2')
+
+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-any/ttf-oxygen.install (from rev 238079, 
ttf-oxygen/trunk/ttf-oxygen.install)
===
--- testing-any/ttf-oxygen.install  (rev 0)
+++ testing-any/ttf-oxygen.install  2015-04-28 07:08:32 UTC (rev 238080)
@@ -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
+}


[arch-commits] Commit in ttf-oxygen/repos (3 files)

2015-04-14 Thread Antonio Rojas
Date: Tuesday, April 14, 2015 @ 09:41:18
  Author: arojas
Revision: 236488

archrelease: copy kde-unstable to kde-unstable-any

Added:
  ttf-oxygen/repos/kde-unstable-any/
  ttf-oxygen/repos/kde-unstable-any/PKGBUILD
(from rev 236487, ttf-oxygen/kde-unstable/PKGBUILD)
  ttf-oxygen/repos/kde-unstable-any/ttf-oxygen.install
(from rev 236487, ttf-oxygen/kde-unstable/ttf-oxygen.install)

+
 PKGBUILD   |   48 
 ttf-oxygen.install |   15 +++
 2 files changed, 63 insertions(+)

Copied: ttf-oxygen/repos/kde-unstable-any/PKGBUILD (from rev 236487, 
ttf-oxygen/kde-unstable/PKGBUILD)
===
--- kde-unstable-any/PKGBUILD   (rev 0)
+++ kde-unstable-any/PKGBUILD   2015-04-14 07:41:18 UTC (rev 236488)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan felixonm...@archlinux.org
+# Contributor: Andrea Scarpino and...@archlinux.org
+# Contributor: Antonio Rojas nqn1976 @ gmail.com
+
+pkgname=ttf-oxygen
+epoch=1
+pkgver=5.2.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')
+options=('!emptydirs')
+install=${pkgname}.install
+source=(http://download.kde.org/unstable/plasma/${pkgver}/oxygen-fonts-${pkgver}.tar.xz;)
+md5sums=('de6f40c6527b05020b71f9188ef5f254')
+
+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/kde-unstable-any/ttf-oxygen.install (from rev 236487, 
ttf-oxygen/kde-unstable/ttf-oxygen.install)
===
--- kde-unstable-any/ttf-oxygen.install (rev 0)
+++ kde-unstable-any/ttf-oxygen.install 2015-04-14 07:41:18 UTC (rev 236488)
@@ -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
+}


[arch-commits] Commit in ttf-oxygen/repos (3 files)

2014-05-16 Thread Andrea Scarpino
Date: Saturday, May 17, 2014 @ 00:09:46
  Author: andrea
Revision: 212905

archrelease: copy trunk to kde-unstable-any

Added:
  ttf-oxygen/repos/kde-unstable-any/
  ttf-oxygen/repos/kde-unstable-any/PKGBUILD
(from rev 212904, ttf-oxygen/trunk/PKGBUILD)
  ttf-oxygen/repos/kde-unstable-any/ttf-oxygen.install
(from rev 212904, ttf-oxygen/trunk/ttf-oxygen.install)

+
 PKGBUILD   |   41 +
 ttf-oxygen.install |   15 +++
 2 files changed, 56 insertions(+)

Copied: ttf-oxygen/repos/kde-unstable-any/PKGBUILD (from rev 212904, 
ttf-oxygen/trunk/PKGBUILD)
===
--- kde-unstable-any/PKGBUILD   (rev 0)
+++ kde-unstable-any/PKGBUILD   2014-05-16 22:09:46 UTC (rev 212905)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Andrea Scarpino and...@archlinux.org
+# Contributor: Antonio Rojas nqn1976 @ gmail.com
+
+pkgname=ttf-oxygen
+epoch=1
+pkgver=0.3.96
+_plasmaver=4.96.0
+pkgrel=1
+pkgdesc='A desktop/gui font family for integrated use with the KDE desktop'
+arch=('any')
+license=('custom:OFL' 'GPL' 'custom:GPL+FE')
+url=https://projects.kde.org/projects/playground/artwork/oxygen-fonts;
+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/unstable/plasma/$_plasmaver/src/oxygen-fonts-$pkgver.tar.xz;)
+md5sums=('642f58a9d8dc99be50d421c468eeba6f')
+
+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}
+}

Copied: ttf-oxygen/repos/kde-unstable-any/ttf-oxygen.install (from rev 212904, 
ttf-oxygen/trunk/ttf-oxygen.install)
===
--- kde-unstable-any/ttf-oxygen.install (rev 0)
+++ kde-unstable-any/ttf-oxygen.install 2014-05-16 22:09:46 UTC (rev 212905)
@@ -0,0 +1,15 @@
+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
+}