Date: Sunday, March 12, 2017 @ 19:25:18 Author: heftig Revision: 290687
233-1 Modified: python-systemd/trunk/PKGBUILD ----------+ PKGBUILD | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-03-12 19:11:49 UTC (rev 290686) +++ PKGBUILD 2017-03-12 19:25:18 UTC (rev 290687) @@ -2,20 +2,25 @@ # Maintainer: Jan Alexander Steffens (heftig) <[email protected]> pkgbase=python-systemd pkgname=(python-systemd python2-systemd) -pkgver=231 -pkgrel=2 -_commit=b71b8b64ebb28ddbf1130e9127f1e9fc5fb6117f +pkgver=233 +pkgrel=1 pkgdesc="Python bindings for systemd" arch=(i686 x86_64) url="https://github.com/systemd/python-systemd" license=(LGPL) makedepends=(systemd python python2 git) -source=("$pkgbase::git+${url}#tag=v${pkgver}") +_commit=0cae964314226d2d3e9a0a72d9d250cfb0217609 # tags/v233^0 +source=("$pkgbase::git+${url}#commit=$_commit") sha256sums=('SKIP') +pkgver() { + cd $pkgbase + git describe --tags | sed 's/^v//;s/-/+/g' +} + prepare() { cp -a $pkgbase python2 - mv $pkgbase python3 + cp -a $pkgbase python3 } build() {
