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

andyrtr at archlinux.org andyrtr at archlinux.org
Sat Nov 12 10:10:44 UTC 2011


    Date: Saturday, November 12, 2011 @ 05:10:44
  Author: andyrtr
Revision: 142571

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

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

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

Copied: graphite/repos/testing-x86_64/PKGBUILD (from rev 142569, graphite/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2011-11-12 10:10:44 UTC (rev 142571)
@@ -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-x86_64/pango-graphite.install (from rev 142569, graphite/repos/staging-x86_64/pango-graphite.install)
===================================================================
--- testing-x86_64/pango-graphite.install	                        (rev 0)
+++ testing-x86_64/pango-graphite.install	2011-11-12 10:10:44 UTC (rev 142571)
@@ -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