summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f597f9996d0164c370d8fa086f3136abe89602c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# PKGBUILD generated by pipman
# Python package author:  <Thiago <systemofdown@gmail.com>, Ilia Bozhinov <ammen99@gmail.com>>
pkgname=python-wayfire
pkgver=3.1
pkgrel=1
pkgdesc="wayfire compositor library"
arch=(any)
url="https://github.com/WayfireWM/pywayfire"
license=()
makedepends=("python" "python-pip")
build() {
  pip install --no-deps --target="wayfire" wayfire==3.1
}
package() {
  sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
  mkdir -p $pkgdir/"$sitepackages"
  cp -r $srcdir/wayfire/* $pkgdir/"$sitepackages"
}