blob: 3e5c94749b7686874c78e2e9f0f57671143252ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Contributor: Michal Malek <michalm@jabster.pl>
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')
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 $startdir/src/$pkgname-$pkgver-Source
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr || return 1
make || return 1
make DESTDIR=$startdir/pkg install || return 1
}
|