summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBłażej Szczygieł2022-03-13 16:23:31 +0100
committerBłażej Szczygieł2022-03-13 16:23:31 +0100
commitc5b6e55029f4888cf9347c8c0441071fe87b6371 (patch)
treef2cc227b5668dce269c396ad99adec3486e4abc1
parentf49b9b94e15d97c18b7b529d24014dd4131d7714 (diff)
downloadaur-c5b6e55029f4888cf9347c8c0441071fe87b6371.tar.gz
Update PKGBUILD
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD12
2 files changed, 5 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 41f9c7c17c54..66a44a0b7b1d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,25 +1,18 @@
-# Generated by mksrcinfo v8
-# Sat Jan 20 11:21:19 UTC 2018
pkgbase = nfs2se-git
pkgdesc = Cross-platform wrapper for the Need For Speed™ II SE game with 3D acceleration and TCP protocol!
- pkgver = 1.2.3
+ pkgver = v1.2.4.r13.g9423c45
pkgrel = 1
url = https://github.com/zaps166/NFSIISE
install = nfs2se-git.install
- arch = i686
arch = x86_64
- arch = armv7
- arch = armv7h
license = MIT
makedepends = gcc-multilib
makedepends = yasm
depends = lib32-sdl2
depends = lib32-libgl
- optdepends = lib32-libpulse: Required for PulseAudio
source = git+https://github.com/zaps166/NFSIISE
source = nfs2se
md5sums = SKIP
md5sums = 50da45b125bd78839b60b9a16989c37f
pkgname = nfs2se-git
-
diff --git a/PKGBUILD b/PKGBUILD
index f4bd64ee1e1e..25263192a3dc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,10 @@
# Maintainer: zaps166 <spaz16@wp.pl>
pkgname=nfs2se-git
-pkgver=1.2.3
+pkgver=v1.2.4.r13.g9423c45
pkgrel=1
pkgdesc='Cross-platform wrapper for the Need For Speed™ II SE game with 3D acceleration and TCP protocol!'
-arch=('i686' 'x86_64' 'armv7' 'armv7h')
+arch=('x86_64')
url='https://github.com/zaps166/NFSIISE'
license=('MIT')
@@ -18,11 +18,6 @@ machine=$(uname -m)
if [ $machine == "x86_64" ]; then
depends=('lib32-sdl2' 'lib32-libgl')
makedepends=('gcc-multilib' 'yasm')
- optdepends=('lib32-libpulse: Required for PulseAudio')
- SUBMODULE=src/Asm
-elif [ $machine == "i686" ]; then
- depends=('sdl2' 'libgl')
- makedepends=('gcc' 'yasm')
SUBMODULE=src/Asm
else
depends=('sdl2' 'libgl')
@@ -35,7 +30,8 @@ install=nfs2se-git.install
pkgver()
{
- $srcdir/NFSIISE/version
+ cd $srcdir/NFSIISE
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare()