32 lines
980 B
Bash
32 lines
980 B
Bash
# Maintainer: Syping <aur@syping.de>
|
|
pkgname=gta5view
|
|
pkgver=1.10.0
|
|
pkgrel=1
|
|
epoch=
|
|
pkgdesc="Open Source Snapmatic and Savegame viewer/editor for GTA V"
|
|
arch=('x86_64' 'i686' 'armv7h' 'aarch64')
|
|
url="https://gta5view.syping.de/"
|
|
license=('GPL')
|
|
depends=(qt5-base qt5-svg qt5-translations)
|
|
makedepends=(cmake gcc git make qt5-base qt5-svg qt5-tools qt5-translations)
|
|
provides=("$pkgname")
|
|
source=("https://github.com/SyDevTeam/$pkgname/archive/refs/tags/$pkgver.tar.gz")
|
|
sha256sums=("2231afbebbf4a603a214ece08c1d1ef3b7a3d5e998e4165caf2682e7517ce58b")
|
|
|
|
build() {
|
|
mkdir -p "$pkgname-$pkgver.build"
|
|
cd "$pkgname-$pkgver.build"
|
|
cmake "-GUnix Makefiles" \
|
|
"-DCMAKE_BUILD_TYPE=Release" \
|
|
"-DCMAKE_INSTALL_PREFIX=/usr" \
|
|
"-DGTA5VIEW_BUILDTYPE=Release" \
|
|
"-DQCONF_BUILD=ON" \
|
|
"-DFORCE_QT_VERSION=5" \
|
|
"../$pkgname-$pkgver"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$pkgname-$pkgver.build"
|
|
make DESTDIR="$pkgdir/" install
|
|
}
|