blob: edaf2373fec236128fd1e9577f4867ecc6220d8b (
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
31
32
|
# Maintainer: SanskritFritz (gmail)
# Contributor: Bernhard Landauer <oberon@manjaro.org>
# Contributor: Jorge Barroso <jorge.barroso.11 at gmail dot com>
# Contributor: Michal Malek <michalm@jabster.pl>
pkgname=fontmatrix
pkgver=0.9.100
pkgrel=2
pkgdesc="Font manager for Linux"
arch=('i686' 'x86_64')
url="https://github.com/$pkgname/$pkgname"
license=('GPL')
depends=('qt5-webkit' 'qt5-svg' 'qt5-tools')
makedepends=('cmake')
source=("$url/archive/v$pkgver.tar.gz")
sha256sums=('241021e24b0e2cdbc4bdf516d41ddfd23675a5a098bdaa0f7564d866cd292659')
build() {
cd $pkgname-$pkgver
[[ $CARCH == 'i686' ]] && _bits='32'
[[ $CARCH == 'x86_64' ]] && _bits='64'
export QTDIR=/usr
export QMAKESPEC=/usr/share/qt/mkspecs/linux-g++-${_bits}
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE='Release' -DCMAKE_INSTALL_PREFIX='/usr'
make
}
package() {
cd $pkgname-$pkgver/build
make DESTDIR="$pkgdir" install
}
|