diff --git a/gta5view-bin/PKGBUILD b/gta5view-bin/PKGBUILD index c7643b4..749b9ba 100644 --- a/gta5view-bin/PKGBUILD +++ b/gta5view-bin/PKGBUILD @@ -8,14 +8,15 @@ arch=('x86_64') url="https://gta5view.syping.de/" license=('GPL') depends=(qt5-base qt5-svg qt5-translations) +makedepends=(binutils) 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") +source=("https://github.com/SyDevTeam/${pkgname%-bin}/releases/download/$pkgver/gta5view_$pkgver-${pkgrel}_amd64.deb") +noextract=("${pkgname%-bin}_$pkgver-${pkgrel}_amd64.deb") sha256sums=("446c98dd84074d3060c8d4b54580e5d5ce4b5c19656b9c5947ab2a55b477750d") prepare() { - ar x gta5view_$pkgver-${pkgrel}_amd64.deb + ar x ${pkgname%-bin}_$pkgver-${pkgrel}_amd64.deb tar xfJ data.tar.xz }