diff options
author | nelliel | 2020-03-14 15:59:08 +0330 |
---|---|---|
committer | nelliel | 2020-03-14 15:59:08 +0330 |
commit | 43b32fbe3748631e1b5f5138979a2f3c8fe7fbdf (patch) | |
tree | 06309c4387348df602a09cbc94e562fc8bdba243 /PKGBUILD | |
download | aur-python-playsound.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000000..643495bae65 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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" +} |