mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
44 lines
1.1 KiB
Bash
44 lines
1.1 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dot]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# 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')
|
|
categories=('graphics')
|
|
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:
|