blob: 6474c9ee55de11c484471122cb7633a8ff4a59d3 (
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
|
# Maintainer: Chris Rizzitello <sithlord48@gmail.com>
pkgname=libff7tk-git
pkgver=1.2.0.0
pkgrel=1
provides=("libff7tk=${pkgver}")
conflicts=('libff7tk')
pkgdesc="Final Fantasy 7 Tool library"
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/sithlord48/ff7tk"
license=('LGPL3')
makedepends=('cmake' 'git' 'doxygen' 'clang')
depends=('qt6-base' 'qt6-tools' 'qt6-svg' 'qt6-declarative' 'qt6-5compat' 'zlib') #Qt6)
install=$pkgname.install
source=('ff7tk::git+https://github.com/sithlord48/ff7tk.git')
md5sums=(SKIP)
options+=(!strip)
pkgver() {
cd "ff7tk"
git describe --long | sed 's/-/./g;s/v//g' | grep -o "^[0-9]*.[0-9]*.[0-9]*.[0-9]*"
}
build() {
cmake -S ff7tk -B build -DCMAKE_INSTALL_PREFIX=/usr -DQT_DEFAULT_MAJOR_VERSION=6
cmake --build build
}
package(){
DESTDIR="$pkgdir" cmake --install build
}
|