summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9b545928cbcfccfdb173ceb39da92e100117d7df (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
27
28
# Maintainer:  Clemmitt Sigler <cmsigler (dot) online (at) gmail (dot) com>

pkgname=python-pulsectl-asyncio-git
_gitname=pulsectl-asyncio
pkgver=20210613
pkgrel=1
pkgdesc="Asyncio frontend for pulsectl, a Python bindings library for PulseAudio (libpulse) -- git version"
arch=('x86_64')
url="https://github.com/mhthies/pulsectl-asyncio"
license=('MIT')
depends=('python>=3.6' 'python-pulsectl>=1:21.5.18')
makedepends=('git' 'python-setuptools')
provides=('python-pulsectl-asyncio')
conflicts=('python-pulsectl-asyncio')
source=('git+https://github.com/mhthies/pulsectl-asyncio.git')
md5sums=('SKIP')

pkgver() {
  cd "${srcdir}/${_gitname}"
  git log -1 --format="%cd" --date=short | sed 's|-||g'
}

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

# vim:set ts=2 sw=2 ft=sh et: