summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/fontconfig/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/fontconfig/PKGBUILD
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/fontconfig/PKGBUILD')
-rw-r--r--abs/core-testing/fontconfig/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/core-testing/fontconfig/PKGBUILD b/abs/core-testing/fontconfig/PKGBUILD
new file mode 100644
index 0000000..7abdf6d
--- /dev/null
+++ b/abs/core-testing/fontconfig/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 4424 2008-07-06 22:09:03Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+pkgname=fontconfig
+pkgver=2.6.0
+pkgrel=2
+pkgdesc="A library for configuring and customizing font access"
+arch=(i686 x86_64)
+url="http://www.fontconfig.org/release/"
+license=('custom')
+depends=('expat>=2.0' 'freetype2>=2.3.7')
+options=('!libtool')
+install=fontconfig.install
+source=(http://www.fontconfig.org/release/${pkgname}-${pkgver}.tar.gz
+ 29-replace-bitmap-fonts.conf)
+md5sums=('ab54ec1d4ddd836313fdbc0cd5299d6d'
+ 'f6b67e8cc79197ed6abd4701911e83da')
+
+build() {
+ cd ${startdir}/src/${pkgname}-${pkgver}
+ # enable Position Independent Code for prelinking
+ export CFLAGS="${CFLAGS} -fPIC"
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || return 1
+ make || return 1
+ make DESTDIR=${startdir}/pkg install || return 1
+ install -m644 ${startdir}/src/29-replace-bitmap-fonts.conf \
+ ${startdir}/pkg/etc/fonts/conf.avail || return 1
+ rm -f ${startdir}/pkg/etc/fonts/conf.d/*.conf
+
+ #Install license
+ install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
+ install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
+}