public
Last active

PKGBUILD file for QMentat package in Arch Linux.

  • Download Gist
PKGBUILD.qmentat
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
# Maintainer: Michel Dusseault <mike dot dusseault at gmail dot com>
pkgname=qmentat-git
pkgver=0.8.1.g8c82f61
pkgrel=1
pkgdesc='Mental Arithmetic Trainer'
arch=('i686' 'x86_64')
url='http://realgrep.github.io/QMentat/'
license=('GPL3')
depends=('qt4')
makedepends=('git' 'boost')
source=("$pkgname"::git+https://github.com/RealGrep/QMentat.git)
md5sums=('SKIP')
 
pkgver() {
cd "$pkgname"
git describe | sed 's/v//; s/-/./g'
}
 
build() {
cd "$srcdir/$pkgname"
lrelease-qt4 QMentat.pro
qmake-qt4 QMentat.pro -r -spec linux-g++ CONFIG+=release
make
}
 
package() {
cd "$srcdir/$pkgname"
make INSTALL_ROOT="$pkgdir/" install
rm "$pkgdir/usr/share/QMentat/LICENSE"
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.