summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Meyer2020-04-17 15:13:36 +0200
committerSebastian Meyer2020-04-17 15:13:36 +0200
commitb77acc5a19c9c1dceea570a31ee13aeb811aede9 (patch)
treeea2606801979e63612d18939302f40969a409b82
parentaf9a5ed70731230da4e7c287570995e4ff92c2c5 (diff)
downloadaur-b77acc5a19c9c1dceea570a31ee13aeb811aede9.tar.gz
add missing dep + update to mercurial versioning
-rw-r--r--PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2882c1af2608..e4f8005faed8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,14 +4,14 @@ _pkgname=sdl2_compat12
pkgname=sdl2_compat12-git
provides=('sdl')
conflicts=('sdl')
-pkgver=8102943c
+pkgver=r120+.dc55edfe5d2f+
pkgrel=1
pkgdesc="Provides a binary-compatible API for programs written against SDL 1.2, but it uses SDL 2.0 behind the scenes."
url=https://hg.libsdl.org/sdl12-compat/
arch=('i686' 'x86_64')
license=('ZLIB')
depends=('sdl2')
-makedepends=('cmake')
+makedepends=('cmake' 'mercurial')
source=('hg+https://hg.libsdl.org/sdl12-compat/' 'fix-cmakelists.patch' 'fix-srcdir-reference.patch')
sha256sums=('SKIP'
'6b89938e36ceafbe0e5fec87aa03606c20166890ea73320e5fabf4fd2c3ff4b5'
@@ -25,7 +25,8 @@ prepare() {
pkgver() {
cd sdl12-compat
- git log | head -n1 | sed -e 's/^commit\s*\(........\).*/\1/'
+ #git log | head -n1 | sed -e 's/^commit\s*\(........\).*/\1/'
+ printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
}
build() {