blob: 52c359b217b0cb89d44b243ca09a41a5b1f13936 (
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
33
34
35
36
37
38
39
40
41
|
# Maintainer: Haruue Icymoon <haruue@caoyue.com.cn>
pkgname=firebird-nspire-git
pkgver=1.5.r31.g6fc3858
pkgrel=1
pkgdesc='Community emulator of TI-Nspire calculators.'
arch=('i686' 'x86_64')
url='https://github.com/nspire-emus/firebird'
conflicts=('nspire_emu' 'firebird-nspire')
provides=('firebird-nspire')
license=('GPL3')
depends=('qt5-quickcontrols')
makedepends=('qt5-declarative' 'git')
source=("${pkgname%-git}"::'git+https://github.com/nspire-emus/firebird')
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname%-git}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "${srcdir}/${pkgname%-git}"
git submodule init
git submodule update
}
build() {
# Compile...
cd "${srcdir}/${pkgname%-git}"
mkdir -p build
cd build
qmake ..
make
}
package() {
# Install...
cd "${srcdir}/${pkgname%-git}/build"
INSTALL_ROOT="${pkgdir}" make install
}
|