[arch-commits] Commit in (5 files)
andyrtr at archlinux.org
andyrtr at archlinux.org
Sat Sep 5 20:11:42 UTC 2009
Date: Saturday, September 5, 2009 @ 16:11:42
Author: andyrtr
Revision: 51199
initial package needed for future OpenOffice
Added:
graphite/
graphite/repos/
graphite/trunk/
graphite/trunk/PKGBUILD
graphite/trunk/pango-graphite.install
------------------------+
PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++
pango-graphite.install | 12 +++++++++++
2 files changed, 63 insertions(+)
Added: graphite/trunk/PKGBUILD
===================================================================
--- graphite/trunk/PKGBUILD (rev 0)
+++ graphite/trunk/PKGBUILD 2009-09-05 20:11:42 UTC (rev 51199)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+
+# build twice that pango-graphite can pickup the new libgraphite dependency - take care when .so names happen!
+
+pkgbase=graphite
+pkgname=('libgraphite' 'pango-graphite')
+pkgver=2.3.1
+pkgrel=1
+arch=('i686' 'x86_64')
+url="http://graphite.sil.org/"
+makedepends=('pango' 'gcc-libs')
+options=('!libtool' '!emptydirs')
+source=(http://downloads.sourceforge.net/project/silgraphite/silgraphite/${pkgver}/silgraphite-${pkgver}.tar.gz)
+md5sums=('d35724900f6a4105550293686688bbb3')
+
+build() {
+ cd "${srcdir}/silgraphite-${pkgver}"
+ pushd engine
+ ./configure --prefix=/usr --disable-static
+ make || return 1
+ popd
+
+ pushd wrappers/pangographite
+ ./configure --prefix=/usr --disable-static
+ make || return 1
+ popd
+}
+
+package_libgraphite() {
+ pkgdesc="SILGraphite - a \"smart font\" rendering engine - the libs and headers"
+ license=('custom_SIL Dual license')
+ depends=('gcc-libs')
+
+ cd "${srcdir}/silgraphite-${pkgver}"/engine
+ make DESTDIR="$pkgdir/" install || return 1
+
+ # licenses
+ mkdir -p "${pkgdir}"/usr/share/licenses/${pkgname}
+ install -m644 license/*.txt "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
+
+package_pango-graphite() {
+ pkgdesc="SILGraphite support for pango"
+ license=('LGPL')
+ depends=('pango' 'libgraphite')
+ install=pango-graphite.install
+
+ cd "${srcdir}/silgraphite-${pkgver}"/wrappers/pangographite
+ make DESTDIR="$pkgdir/" install || return 1
+}
\ No newline at end of file
Property changes on: graphite/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
+ Id
Added: graphite/trunk/pango-graphite.install
===================================================================
--- graphite/trunk/pango-graphite.install (rev 0)
+++ graphite/trunk/pango-graphite.install 2009-09-05 20:11:42 UTC (rev 51199)
@@ -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