[arch-commits] Commit in graphite/repos (4 files)

andyrtr at archlinux.org andyrtr at archlinux.org
Sat Nov 12 05:10:43 EST 2011


    Date: Saturday, November 12, 2011 @ 05:10:43
  Author: andyrtr
Revision: 142570

db-move: moved graphite from [staging] to [testing] (i686)

Added:
  graphite/repos/testing-i686/
  graphite/repos/testing-i686/PKGBUILD
    (from rev 142569, graphite/repos/staging-i686/PKGBUILD)
  graphite/repos/testing-i686/pango-graphite.install
    (from rev 142569, graphite/repos/staging-i686/pango-graphite.install)
Deleted:
  graphite/repos/staging-i686/

------------------------+
 PKGBUILD               |   39 +++++++++++++++++++++++++++++++++++++++
 pango-graphite.install |   12 ++++++++++++
 2 files changed, 51 insertions(+)

Copied: graphite/repos/testing-i686/PKGBUILD (from rev 142569, graphite/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2011-11-12 10:10:43 UTC (rev 142570)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+
+pkgname=graphite
+pkgver=1.0.3
+pkgrel=1
+epoch=1
+arch=('i686' 'x86_64')
+url="http://graphite.sil.org/"
+pkgdesc='reimplementation of the SIL Graphite text processing engine'
+license=('custom_SIL Dual license')
+depends=('gcc-libs')
+makedepends=('cmake' 'freetype2')
+options=('!libtool' '!emptydirs')
+source=("http://downloads.sourceforge.net/project/silgraphite/graphite2/graphite2-${pkgver}.tgz")
+md5sums=('3bf481ca95109b14435125c0dd1f2217')
+
+build() {
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake -G "Unix Makefiles" ../graphite2-${pkgver} \
+	-DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+check() {
+  cd "${srcdir}"/build
+  ctest
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="$pkgdir/" install
+
+  # licenses
+  mkdir -p "${pkgdir}"/usr/share/licenses/${pkgname}
+  install -m644 "${srcdir}"/graphite2-${pkgver}/COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/
+}

Copied: graphite/repos/testing-i686/pango-graphite.install (from rev 142569, graphite/repos/staging-i686/pango-graphite.install)
===================================================================
--- testing-i686/pango-graphite.install	                        (rev 0)
+++ testing-i686/pango-graphite.install	2011-11-12 10:10:43 UTC (rev 142570)
@@ -0,0 +1,12 @@
+post_install() {
+	usr/bin/pango-querymodules >etc/pango/pango.modules
+}
+
+post_upgrade() {
+	post_install $1
+}
+
+pre_remove() {
+        post_install $1
+}
+



More information about the arch-commits mailing list