[arch-commits] Commit in graphite/repos (5 files)
Ionut Biru
ibiru at archlinux.org
Sat Nov 12 18:27:51 UTC 2011
Date: Saturday, November 12, 2011 @ 13:27:50
Author: ibiru
Revision: 142675
db-move: moved graphite from [testing] to [extra] (x86_64)
Added:
graphite/repos/extra-x86_64/PKGBUILD
(from rev 142673, graphite/repos/testing-x86_64/PKGBUILD)
graphite/repos/extra-x86_64/pango-graphite.install
(from rev 142673, graphite/repos/testing-x86_64/pango-graphite.install)
Deleted:
graphite/repos/extra-x86_64/PKGBUILD
graphite/repos/extra-x86_64/pango-graphite.install
graphite/repos/testing-x86_64/
------------------------+
PKGBUILD | 81 ++++++++++++++++++++++-------------------------
pango-graphite.install | 24 ++++++-------
2 files changed, 51 insertions(+), 54 deletions(-)
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2011-11-12 18:27:49 UTC (rev 142674)
+++ extra-x86_64/PKGBUILD 2011-11-12 18:27:50 UTC (rev 142675)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: AndyRTR <andyrtr at archlinux.org>
-
-pkgbase=graphite
-pkgname=('libgraphite' 'pango-graphite')
-pkgver=2.3.1
-pkgrel=2
-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}"
- ./configure --prefix=/usr --disable-static
- make
-}
-
-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
-
- # 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
-}
Copied: graphite/repos/extra-x86_64/PKGBUILD (from rev 142673, graphite/repos/testing-x86_64/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2011-11-12 18:27:50 UTC (rev 142675)
@@ -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}/
+}
Deleted: extra-x86_64/pango-graphite.install
===================================================================
--- extra-x86_64/pango-graphite.install 2011-11-12 18:27:49 UTC (rev 142674)
+++ extra-x86_64/pango-graphite.install 2011-11-12 18:27:50 UTC (rev 142675)
@@ -1,12 +0,0 @@
-post_install() {
- usr/bin/pango-querymodules >etc/pango/pango.modules
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- post_install $1
-}
-
Copied: graphite/repos/extra-x86_64/pango-graphite.install (from rev 142673, graphite/repos/testing-x86_64/pango-graphite.install)
===================================================================
--- extra-x86_64/pango-graphite.install (rev 0)
+++ extra-x86_64/pango-graphite.install 2011-11-12 18:27:50 UTC (rev 142675)
@@ -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