summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafał Kozdrój2018-06-16 12:57:47 +0200
committerRafał Kozdrój2018-06-16 12:57:47 +0200
commit558b6837d0c5c35a62d413b96dc9b824ec82c9ed (patch)
tree8fd1fdb5f9fb54cd5fc00cdb268804ae1d0d345b
parent8eaf1733065d3cde9489f0d8a00434ba2966237f (diff)
downloadaur-558b6837d0c5c35a62d413b96dc9b824ec82c9ed.tar.gz
upgpkg: 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 b39e8ecc357f..e428d5d95890 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = sdl-hg
pkgdesc = A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard
- pkgver = 1.2.15.r11056.1138bf8c009a
- pkgrel = 2
+ pkgver = 1.2.15.r11979.d684a767e240
+ pkgrel = 1
url = https://www.libsdl.org
arch = i686
arch = x86_64
@@ -17,10 +17,10 @@ pkgbase = sdl-hg
depends = libx11
optdepends = alsa-lib: ALSA audio driver
optdepends = libpulse: PulseAudio audio driver
- provides = sdl=1.2.15.r11056.1138bf8c009a
+ provides = sdl=1.2.15.r11979.d684a767e240
conflicts = 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 = sdl-hg
diff --git a/PKGBUILD b/PKGBUILD
index 6862e46321fa..ec2e6d6035d5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,12 @@
-# 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>
_pkgname=sdl
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"
arch=('i686' 'x86_64')
url="https://www.libsdl.org"
@@ -19,12 +18,15 @@ optdepends=('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() {