summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafał Kozdrój2018-06-16 13:07:23 +0200
committerRafał Kozdrój2018-06-16 13:07:23 +0200
commit2c50614387436983b1f2623a715dc48d38ee3d5c (patch)
tree60130180af2b691be644743c7fb16bb15f3096ee
parentb10e823f77d200e50b1c0a420c7189ab2cb2d2a0 (diff)
downloadaur-2c50614387436983b1f2623a715dc48d38ee3d5c.tar.gz
upgpkg: lib32-sdl-hg 1.2.15.r11979.d684a767e240
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD14
2 files changed, 12 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 86e403bb3eda..e56e44e46647 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = lib32-sdl-hg
pkgdesc = A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (32-bit)
- pkgver = 1.2.15.r11056.1138bf8c009a
- pkgrel = 2
+ pkgver = 1.2.15.r11979.d684a767e240
+ pkgrel = 1
url = http://www.libsdl.org
arch = x86_64
license = LGPL
@@ -17,10 +17,10 @@ pkgbase = lib32-sdl-hg
depends = sdl
optdepends = lib32-alsa-lib: ALSA audio driver
optdepends = lib32-libpulse: PulseAudio audio driver
- provides = lib32-sdl=1.2.15.r11056.1138bf8c009a
+ provides = lib32-sdl=1.2.15.r11979.d684a767e240
conflicts = lib32-sdl
options = staticlibs
- source = hg+http://hg.libsdl.org/SDL#branch=SDL-1.2
+ source = hg+https://hg.libsdl.org/SDL#branch=SDL-1.2
md5sums = SKIP
pkgname = lib32-sdl-hg
diff --git a/PKGBUILD b/PKGBUILD
index b55c2baf6a80..64b3990ee753 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,4 @@
-# Maintainer: Kozeid <kozeid2@gmail.com>
+# Maintainer: Rafał Kozdrój <kozeid2@gmail.com>
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
@@ -6,9 +6,8 @@
_pkgbasename=sdl
_pkgname=lib32-$_pkgbasename
pkgname=$_pkgname-hg
-_pkgver=1.2.15
-pkgver=1.2.15.r11056.1138bf8c009a
-pkgrel=2
+pkgver=1.2.15.r11979.d684a767e240
+pkgrel=1
pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (32-bit)"
arch=('x86_64')
url="http://www.libsdl.org"
@@ -20,12 +19,15 @@ optdepends=('lib32-alsa-lib: ALSA audio driver'
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
options=('staticlibs')
-source=("hg+http://hg.libsdl.org/SDL#branch=SDL-1.2")
+source=("hg+https://hg.libsdl.org/SDL#branch=SDL-1.2")
md5sums=('SKIP')
pkgver() {
cd "SDL/"
- printf "%s.r%s.%s" "$_pkgver" "$(hg identify -n | sed 's/+//')" "$(hg identify -i | sed 's/+//')"
+ printf "%s.r%s.%s" \
+ "$(hg log -r . -T "{latesttag}" | sed 's/release-//')" \
+ "$(hg identify -n | sed 's/+//')" \
+ "$(hg identify -i | sed 's/+//')"
}
prepare() {