summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Straube2017-01-25 13:45:10 +0100
committerMichael Straube2017-01-25 13:45:57 +0100
commit0a55cf382f3f5a6077d56ee89c2833543516406c (patch)
tree40e70b17d8356489b3031a649e2737ba900b0457
parent72beae46ef68f6f7b4f56241fe6885021c46dc02 (diff)
downloadaur-0a55cf382f3f5a6077d56ee89c2833543516406c.tar.gz
v 0.9.5
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD21
2 files changed, 13 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a286f12a41a..0e868da23bb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-pysdl2
pkgdesc = A Python wrapper around the SDL2 library
- pkgver = 0.9.4
+ pkgver = 0.9.5
pkgrel = 1
url = https://bitbucket.org/marcusva/py-sdl2/overview
arch = i686
@@ -12,8 +12,8 @@ pkgbase = python-pysdl2
optdepends = sdl2_image
optdepends = sdl2_mixer
optdepends = sdl2_ttf
- source = https://bitbucket.org/marcusva/py-sdl2/downloads/PySDL2-0.9.4.tar.gz
- md5sums = 720b33ed048c169643406ae39ca4dd8d
+ source = https://bitbucket.org/marcusva/py-sdl2/downloads/PySDL2-0.9.5.tar.gz
+ sha256sums = 500eeef667a12ab2790b9fbf25f24b2e1de3bdc9d0b07fd94112ad486149e276
pkgname = python-pysdl2
diff --git a/PKGBUILD b/PKGBUILD
index c7ca7933401..a4604978291 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,27 +2,26 @@
# Contributor: feuri <mail at feuri dot de>
pkgname=python-pysdl2
-pkgver=0.9.4
+pkgver=0.9.5
pkgrel=1
pkgdesc="A Python wrapper around the SDL2 library"
-
arch=('i686' 'x86_64')
url="https://bitbucket.org/marcusva/py-sdl2/overview"
license=('custom:CC0')
-
depends=('python' 'sdl2')
optdepends=('sdl2_gfx' 'sdl2_image' 'sdl2_mixer' 'sdl2_ttf')
-
-source=(https://bitbucket.org/marcusva/py-sdl2/downloads/PySDL2-${pkgver}.tar.gz)
-md5sums=('720b33ed048c169643406ae39ca4dd8d')
+source=("https://bitbucket.org/marcusva/py-sdl2/downloads/PySDL2-$pkgver.tar.gz")
+sha256sums=('500eeef667a12ab2790b9fbf25f24b2e1de3bdc9d0b07fd94112ad486149e276')
build() {
- cd "${srcdir}/PySDL2-${pkgver}"
- python3 setup.py build
+ cd PySDL2-$pkgver
+
+ python setup.py build
}
package() {
- cd "${srcdir}/PySDL2-${pkgver}"
- python3 setup.py install --root="${pkgdir}"
- install -m 644 -D doc/copying.rst ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ cd PySDL2-$pkgver
+
+ python setup.py install --root="$pkgdir"
+ install -Dm644 doc/copying.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}