diff options
author | Matthew Gamble | 2022-01-23 22:19:55 +1100 |
---|---|---|
committer | Matthew Gamble | 2022-01-23 22:19:55 +1100 |
commit | 3c02fd2f9cd009d11b65b697ee4c4e39def1a926 (patch) | |
tree | 464517c7c9ce12d572b617e6eaf0096be43905b8 | |
download | aur-3c02fd2f9cd009d11b65b697ee4c4e39def1a926.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 32 |
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9cf1ba53dd0b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = mopidy-bandcamp + pkgdesc = Mopidy backend for Bandcamp + pkgver = 1.1.5 + pkgrel = 1 + url = https://github.com/impliedchaos/mopidy-bandcamp + arch = any + license = MIT + depends = mopidy + depends = python + depends = python-setuptools + depends = python-pykka + source = https://pypi.io/packages/source/M/Mopidy-Bandcamp/Mopidy-Bandcamp-1.1.5.tar.gz + sha256sums = c20f7370e29f650461a720350aee70bddc0aa66ae572bda6f66aea0478145c04 + +pkgname = mopidy-bandcamp diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..e38eb34d4ee1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/pkg/ +/src/ +*.pkg.tar.* +*.tar.gz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3a2b590bd6db --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Matthew Gamble <git@matthewgamble.net> + +pkgname=mopidy-bandcamp +pkgver=1.1.5 +pkgrel=1 +pkgdesc="Mopidy backend for Bandcamp" +arch=("any") +url="https://github.com/impliedchaos/mopidy-bandcamp" +license=("MIT") +depends=( + "mopidy" + "python" + "python-setuptools" + "python-pykka" +) +source=("https://pypi.io/packages/source/M/Mopidy-Bandcamp/Mopidy-Bandcamp-${pkgver}.tar.gz") +sha256sums=("c20f7370e29f650461a720350aee70bddc0aa66ae572bda6f66aea0478145c04") + +build() { + cd "Mopidy-Bandcamp-${pkgver}" + + python setup.py build +} + +package() { + cd "Mopidy-Bandcamp-${pkgver}" + + PYTHONHASHSEED=0 python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/mopidy-bandcamp/LICENSE" + install -Dm644 README.rst "${pkgdir}/usr/share/doc/mopidy-bandcamp/README.rst" +} |