summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHurricanePootis2022-05-23 00:32:18 -0500
committerHurricanePootis2022-05-23 00:32:18 -0500
commitb18625cb8251a62f2ccf0bd31f518deb8215134b (patch)
tree0097f899048207764140ed55c03ee53484dd2921
parent14e503714c8d0d7b83924f24effc366ed5301323 (diff)
downloadaur-b18625cb8251a62f2ccf0bd31f518deb8215134b.tar.gz
Update depends to be in parity with non-git package, and modified conflicts(), provides(), and replaces() for a streamline experience replacing lib32-sdl12-compat
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD13
2 files changed, 16 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 744128c33d69..832f28f6aa2b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = lib32-sdl12-compat-git
pkgdesc = An SDL-1.2 compatibility layer that uses SDL 2.0 behind the scenes.
- pkgver = r560.3f49628
+ pkgver = r568.9403529
pkgrel = 1
url = https://github.com/libsdl-org/sdl12-compat
arch = x86_64
@@ -9,8 +9,12 @@ pkgbase = lib32-sdl12-compat-git
makedepends = git
depends = lib32-sdl2
depends = lib32-glibc
- provides = lib32-sdl=1.12.15
+ depends = lib32-glu
+ provides = lib32-sdl=1:1.2.15+r406+gf1caf909-1
+ provides = lib32-sdl12-compat
conflicts = lib32-sdl
+ conflicts = lib32-sdl12-compat
+ replaces = lib32-sdl<1:1.2.15+r406+gf1caf909
source = git+https://github.com/libsdl-org/sdl12-compat.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 00dc6cc79ee5..fecb0e5f2cd0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,16 +2,19 @@
pkgname=lib32-sdl12-compat-git
_pkgbase=sdl12-compat
-pkgver=r560.3f49628
+pkgver=r568.9403529
pkgrel=1
pkgdesc="An SDL-1.2 compatibility layer that uses SDL 2.0 behind the scenes."
arch=("x86_64")
url="https://github.com/libsdl-org/sdl12-compat"
license=('custom')
-depends=('lib32-sdl2' 'lib32-glibc')
+depends=('lib32-sdl2' 'lib32-glibc' 'lib32-glu')
makedepends=('cmake' 'git')
conflicts=('lib32-sdl')
provides=('lib32-sdl=1.12.15')
+conflicts=('lib32-sdl' 'lib32-sdl12-compat')
+provides=('lib32-sdl=1:1.2.15+r406+gf1caf909-1' 'lib32-sdl12-compat')
+replaces=('lib32-sdl<1:1.2.15+r406+gf1caf909')
source=("git+https://github.com/libsdl-org/sdl12-compat.git")
sha256sums=('SKIP')
@@ -22,8 +25,12 @@ pkgver() {
}
prepare(){
+ if test -e "$srcdir/$_pkgbase/build32"
+ then
+ :
+ else
mkdir "$srcdir/$_pkgbase/build32"
-
+ fi
}
build() {