updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / fontmatrix / PKGBUILD
blob36dc1b0434a03850d199f1de970ea7ed145a8476
1 # Contributor: Michal Malek <michalm@jabster.pl>
3 pkgname=fontmatrix
4 pkgver=0.6.0
5 pkgrel=2
6 pkgdesc="Font manager for Linux"
7 arch=('i686' 'x86_64')
8 url="http://fontmatrix.net/"
9 license=('GPL')
10 depends=('qt>=4.3.0')
11 makedepends=('cmake>=2.4.0' 'mesa')
12 source=(http://fontmatrix.net/archives/$pkgname-$pkgver-Source.tar.gz)
13 md5sums=('6a00c9448a50d3bab5acb4145f778f2d')
15 build()
17         export QTDIR=/usr
18         if [ "${CARCH}" = "i686" ]; then
19                 export QMAKESPEC=/usr/share/qt/mkspecs/linux-g++-32
20         elif [ "${CARCH}" = "x86_64" ]; then
21                 export QMAKESPEC=/usr/share/qt/mkspecs/linux-g++-64
22         fi
23         
24         cd $srcdir/$pkgname-$pkgver-Source
25         mkdir build
26         cd build
27         cmake .. -DCMAKE_INSTALL_PREFIX=/usr || return 1
28         make || return 1
29         make DESTDIR=$pkgdir install || return 1