gta5view 1.10.0 release

This commit is contained in:
Syping 2021-06-03 12:31:41 +02:00
commit 76ccdbf31d
3 changed files with 89 additions and 0 deletions

24
gta5view-bin/PKGBUILD Normal file
View file

@ -0,0 +1,24 @@
# Maintainer: Syping <aur@syping.de>
pkgname=gta5view-bin
pkgver=1.10.0
pkgrel=1
epoch=
pkgdesc="Open Source Snapmatic and Savegame viewer/editor for GTA V"
arch=('x86_64')
url="https://gta5view.syping.de/"
license=('GPL')
depends=(qt5-base qt5-svg qt5-translations)
provides=("${pkgname%-bin}")
conflicts=("${pkgname%-bin}")
source=("https://github.com/SyDevTeam/gta5view/releases/download/$pkgver/gta5view_$pkgver-${pkgrel}_amd64.deb")
noextract=("gta5view_$pkgver-${pkgrel}_amd64.deb")
sha256sums=("446c98dd84074d3060c8d4b54580e5d5ce4b5c19656b9c5947ab2a55b477750d")
prepare() {
ar x gta5view_$pkgver-${pkgrel}_amd64.deb
tar xfJ data.tar.xz
}
package() {
cp -Rp ./usr $pkgdir/
}

33
gta5view-qt6/PKGBUILD Normal file
View file

@ -0,0 +1,33 @@
# Maintainer: Syping <aur@syping.de>
pkgname=gta5view-qt6
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=(qt6-base qt6-svg qt6-translations)
makedepends=(cmake gcc git make qt6-base qt6-svg qt6-tools qt6-translations)
provides=("${pkgname%-qt6}")
conflicts=("${pkgname%-qt6}")
source=("https://github.com/SyDevTeam/${pkgname%-qt6}/archive/refs/tags/$pkgver.tar.gz")
sha256sums=("2231afbebbf4a603a214ece08c1d1ef3b7a3d5e998e4165caf2682e7517ce58b")
build() {
mkdir -p "${pkgname%-qt6}-$pkgver.build"
cd "${pkgname%-qt6}-$pkgver.build"
cmake "-GUnix Makefiles" \
"-DCMAKE_BUILD_TYPE=Release" \
"-DCMAKE_INSTALL_PREFIX=/usr" \
"-DGTA5VIEW_BUILDTYPE=Release" \
"-DQCONF_BUILD=ON" \
"-DFORCE_QT_VERSION=6" \
"../${pkgname%-qt6}-$pkgver"
make
}
package() {
cd "${pkgname%-qt6}-$pkgver.build"
make DESTDIR="$pkgdir/" install
}

32
gta5view/PKGBUILD Normal file
View file

@ -0,0 +1,32 @@
# 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
}