Date: Thursday, April 6, 2023 @ 14:29:56
Author: felixonmars
Revision: 1439239
archrelease: copy trunk to community-staging-any
Added:
python-pyacoustid/repos/community-staging-any/
python-pyacoustid/repos/community-staging-any/PKGBUILD
(from rev 1439235, python-pyacoustid/trunk/PKGBUILD)
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: python-pyacoustid/repos/community-staging-any/PKGBUILD (from rev
1439235, python-pyacoustid/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 14:29:56 UTC (rev 1439239)
@@ -0,0 +1,43 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: Fernando Jiménez Solano <[email protected]>
+# Contributor: Sven-Hendrik Haase <[email protected]>
+
+pkgname=python-pyacoustid
+pkgver=1.2.2
+pkgrel=3
+pkgdesc='Bindings for Chromaprint acoustic fingerprinting and the Acoustid API'
+arch=(any)
+url=https://github.com/beetbox/pyacoustid
+license=(MIT)
+depends=(
+ chromaprint
+ python
+)
+makedepends=(
+ git
+ python-setuptools
+)
+_tag=7d5ec6e24a5b2fa6fc587698001d2ffa24065b51
+source=(git+https://github.com/beetbox/pyacoustid.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd pyacoustid
+
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cd pyacoustid
+
+ python setup.py build
+}
+
+package() {
+ cd pyacoustid
+
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-pyacoustid/
+}
+
+# vim: ts=2 sw=2 et: