[arch-commits] Commit in (5 files)

Andrea Scarpino andrea at nymeria.archlinux.org
Fri May 16 22:09:33 UTC 2014


    Date: Saturday, May 17, 2014 @ 00:09:32
  Author: andrea
Revision: 212904

Let's try to package KDE Frameworks 5

Added:
  ttf-oxygen/
  ttf-oxygen/repos/
  ttf-oxygen/trunk/
  ttf-oxygen/trunk/PKGBUILD
  ttf-oxygen/trunk/ttf-oxygen.install

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

Added: ttf-oxygen/trunk/PKGBUILD
===================================================================
--- ttf-oxygen/trunk/PKGBUILD	                        (rev 0)
+++ ttf-oxygen/trunk/PKGBUILD	2014-05-16 22:09:32 UTC (rev 212904)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at 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}
+}


Property changes on: ttf-oxygen/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: ttf-oxygen/trunk/ttf-oxygen.install
===================================================================
--- ttf-oxygen/trunk/ttf-oxygen.install	                        (rev 0)
+++ ttf-oxygen/trunk/ttf-oxygen.install	2014-05-16 22:09:32 UTC (rev 212904)
@@ -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
+}




More information about the arch-commits mailing list