summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafał Kozdrój2018-08-08 13:12:06 +0200
committerRafał Kozdrój2018-08-08 13:12:06 +0200
commit8e08b359da87693d9c8a0911d34de6568157e5a6 (patch)
treeaf1bf2916b023938df52602c3f11496a3292af12
parentbe2da8885547a26cea81c70575388f6de0cc82cb (diff)
downloadaur-sdl-hg.tar.gz
upgpkg: sdl-hg 1.2.15.r12076.3e05d58dc84f-1
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 5 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e428d5d9589..82e56e376df 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = sdl-hg
pkgdesc = A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard
- pkgver = 1.2.15.r11979.d684a767e240
+ pkgver = 1.2.15.r12076.3e05d58dc84f
pkgrel = 1
url = https://www.libsdl.org
arch = i686
@@ -17,7 +17,7 @@ pkgbase = sdl-hg
depends = libx11
optdepends = alsa-lib: ALSA audio driver
optdepends = libpulse: PulseAudio audio driver
- provides = sdl=1.2.15.r11979.d684a767e240
+ provides = sdl=1.2.15.r12076.3e05d58dc84f
conflicts = sdl
options = staticlibs
source = hg+https://hg.libsdl.org/SDL#branch=SDL-1.2
diff --git a/PKGBUILD b/PKGBUILD
index d6ae3146d54..ae6769c811a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
_pkgname=sdl
pkgname=$_pkgname-hg
-pkgver=1.2.15.r11979.d684a767e240
+pkgver=1.2.15.r12076.3e05d58dc84f
pkgrel=1
pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard"
arch=('i686' 'x86_64')
@@ -25,14 +25,8 @@ pkgver() {
cd "SDL/"
printf "%s.r%s.%s" \
"$(hg log -r . -T "{latesttag}" | sed 's/^release-//')" \
- "$(hg identify -n | sed 's/+//')" \
- "$(hg identify -i | sed 's/+//')"
-}
-
-prepare() {
- cd "SDL/"
- # https://bugzilla.libsdl.org/show_bug.cgi?id=1430
- hg backout --no-commit 5620:ad4ed9f0336f
+ "$(hg identify -n)" \
+ "$(hg identify -i)"
}
build() {