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

andyrtr at archlinux.org andyrtr at archlinux.org
Fri Oct 28 01:35:50 EDT 2011


    Date: Friday, October 28, 2011 @ 01:35:50
  Author: andyrtr
Revision: 141287

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  graphite/repos/staging-i686/
  graphite/repos/staging-i686/PKGBUILD
    (from rev 141286, graphite/trunk/PKGBUILD)
  graphite/repos/staging-i686/pango-graphite.install
    (from rev 141286, graphite/trunk/pango-graphite.install)
  graphite/repos/staging-x86_64/
  graphite/repos/staging-x86_64/PKGBUILD
    (from rev 141286, graphite/trunk/PKGBUILD)
  graphite/repos/staging-x86_64/pango-graphite.install
    (from rev 141286, graphite/trunk/pango-graphite.install)

---------------------------------------+
 staging-i686/PKGBUILD                 |   39 ++++++++++++++++++++++++++++++++
 staging-i686/pango-graphite.install   |   12 +++++++++
 staging-x86_64/PKGBUILD               |   39 ++++++++++++++++++++++++++++++++
 staging-x86_64/pango-graphite.install |   12 +++++++++
 4 files changed, 102 insertions(+)

Copied: graphite/repos/staging-i686/PKGBUILD (from rev 141286, graphite/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2011-10-28 05:35:50 UTC (rev 141287)
@@ -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/staging-i686/pango-graphite.install (from rev 141286, graphite/trunk/pango-graphite.install)
===================================================================
--- staging-i686/pango-graphite.install	                        (rev 0)
+++ staging-i686/pango-graphite.install	2011-10-28 05:35:50 UTC (rev 141287)
@@ -0,0 +1,12 @@
+post_install() {
+	usr/bin/pango-querymodules >etc/pango/pango.modules
+}
+
+post_upgrade() {
+	post_install $1
+}
+
+pre_remove() {
+        post_install $1
+}
+

Copied: graphite/repos/staging-x86_64/PKGBUILD (from rev 141286, graphite/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2011-10-28 05:35:50 UTC (rev 141287)
@@ -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/staging-x86_64/pango-graphite.install (from rev 141286, graphite/trunk/pango-graphite.install)
===================================================================
--- staging-x86_64/pango-graphite.install	                        (rev 0)
+++ staging-x86_64/pango-graphite.install	2011-10-28 05:35:50 UTC (rev 141287)
@@ -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