Browse Source

gta5view 1.10.0 release

master
Syping 8 months ago
commit
76ccdbf31d
  1. 24
      gta5view-bin/PKGBUILD
  2. 33
      gta5view-qt6/PKGBUILD
  3. 32
      gta5view/PKGBUILD

24
gta5view-bin/PKGBUILD

@ -0,0 +1,24 @@
# Maintainer: Syping <[email protected]>
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

@ -0,0 +1,33 @@
# Maintainer: Syping <[email protected]>
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

@ -0,0 +1,32 @@
# Maintainer: Syping <[email protected]>
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
}
Loading…
Cancel
Save