Created
September 5, 2025 11:54
-
-
Save LEONARDO-DANIEL/54c39e73f3ac69b68f03605fd47ece1d to your computer and use it in GitHub Desktop.
FONTMATRIX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Requiere cmake3-bin o cmake3 Recomiendo cmake3-bin | |
| # This package requires either cmake3-bin or cmake3. | |
| # For optimal compatibility and reproducibility, cmake3-bin is recommended. | |
| 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' 'cmake3-bin') | |
| #makedepends=('cmake3-bin') | |
| 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 | |
| cmake3 .. -DCMAKE_BUILD_TYPE='Release' -DCMAKE_INSTALL_PREFIX='/usr' | |
| make -j$(nproc) | |
| } | |
| package() { | |
| cd $pkgname-$pkgver/build | |
| make DESTDIR="$pkgdir" install | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment