summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 14ab47ac0510a4dc70b1320a730b5cb235b42d1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: Janusz Lewandowski <lew21@xtreeme.org>

pkgname=python-pydbus-git
pkgver=0.6.0.r17.77fc029
pkgrel=1
pkgdesc="Pythonic DBus library"
arch=(any)
url="https://github.com/openEuler-BaseService/pydbus"
license=(LGPL2.1)
depends=(python python-gobject gobject-introspection-runtime)
makedepends=(git python-setuptools)
provides=(python-pydbus)
conflicts=(python-pydbus)
source=("git+https://github.com/openEuler-BaseService/pydbus.git")
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/pydbus"
  git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/v//'
}

package_python-pydbus-git() {
  cd "$srcdir/pydbus"
  python setup.py install --root="$pkgdir/" --optimize=1
}