summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 010c60611330a8d120da108cf6fb455f76c00d4e (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
29
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: Alex Wicks <alex@awicks.io> (https://aur.archlinux.org/account/aw1cks)
pkgname='pyslam'
_name='PySLAM'
pkgver=1.2.1
pkgrel=0
pkgdesc='Python implementation of Source Live Audio Mixer'
arch=(any)
url="https://gitlab.com/aw1cks/${pkgname}"
license=('AGPL3')
groups=()
depends=(
  'dmenu'
  'ffmpeg'
  'fzf'
  'python>=3.6'
  'python-dynmen'
  'python-pydub'
  'python-setuptools'
  'python-yaml'
  'python-traitlets'
  'python-pyxdg'
  'youtube-dl'
)
provides=()
conflicts=()
replaces=()
backup=()
options=(!emptydirs)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-$pkgver.tar.gz")
sha256sums=('fa645ada76b68fc6ac62fb31d4ebcb561a7afe0ef23301557f6205341355dfea')

build() {
  cd "${_name}-${pkgver}"
  python setup.py build
}

package() {
  cd "${_name}-${pkgver}"
  export PYTHONHASHSEED=0
  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}