summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 643495bae65de78b3b7ddbfc45b2287e14aa4562 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Maintainer: Your Name <arch7nelliel@gmail.com>
# Developer: Taylor Marks <taylor@marksfam.com>
pkgname=python-playsound
pkgver=1.2.2
pkgrel=1
pkgdesc="Pure Python, cross platform, single function module with no dependencies for playing sounds."
arch=(any)
url="https://github.com/TaylorSMarks/playsound"
license=(MIT)
makedepends=("python" "python-pip")
build() {
  pip install --no-deps --target="playsound" playsound==1.2.2
}
package() {
  sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
  mkdir -p $pkgdir/"$sitepackages"
  cp -r $srcdir/playsound/* $pkgdir/"$sitepackages"
}