# # Chakra Packages for Chakra, part of chakra-project.org # # maintainer (i686): Phil Miller # maintainer (x86_64): Manuel Tortosa # include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=fontmatrix pkgver=0.6.0 pkgrel=1 pkgdesc="Font manager for Linux." arch=('i686' 'x86_64') url="http://fontmatrix.net/" license=('GPL') depends=('qt>=4.3.0') makedepends=('cmake>=2.4.0' 'mesa') source=("http://fontmatrix.net/archives/${pkgname}-${pkgver}-Source.tar.gz") md5sums=('6a00c9448a50d3bab5acb4145f778f2d') build() { export QTDIR=/usr if [ "${CARCH}" = "i686" ]; then export QMAKESPEC=/usr/share/qt/mkspecs/linux-g++-32 elif [ "${CARCH}" = "x86_64" ]; then export QMAKESPEC=/usr/share/qt/mkspecs/linux-g++-64 fi cd "${srcdir}/${pkgname}-${pkgver}-Source" mkdir build cd build cmake .. -DCMAKE_INSTALL_PREFIX=/usr || return 1 make || return 1 } package() { cd "${srcdir}/${pkgname}-${pkgver}-Source/build" make DESTDIR=$pkgdir install || return 1 } # vim:set ts=2 sw=2 et: