Date: Thursday, April 6, 2023 @ 18:31:28
Author: felixonmars
Revision: 1440250
archrelease: copy trunk to community-staging-any
Added:
python-mpd2/repos/community-staging-any/
python-mpd2/repos/community-staging-any/PKGBUILD
(from rev 1440248, python-mpd2/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: python-mpd2/repos/community-staging-any/PKGBUILD (from rev 1440248,
python-mpd2/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 18:31:28 UTC (rev 1440250)
@@ -0,0 +1,42 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: Jörg Thalheim <[email protected]>
+# Contributor: Emmanuel Gil Peyrot <[email protected]>
+# Contributor: Peter Richard Lewis <[email protected]>
+# Contributor: Wieland Hoffmann <[email protected]>
+# Contributor: stonecrest <stonecrest[at]gmail[dot]com>
+
+pkgname=python-mpd2
+pkgver=3.1.0
+pkgrel=2
+pkgdesc='Python library which provides a client interface for the Music Player
Daemon'
+url=https://github.com/Mic92/python-mpd2
+license=(GPL3)
+depends=(python)
+makedepends=(
+ git
+ python-setuptools
+)
+arch=(any)
+_tag=84ca21ccd7362dce023f8f67d7002338574de54f
+source=(git+https://github.com/Mic92/python-mpd2.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd python-mpd2
+
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cd python-mpd2
+
+ python setup.py build
+}
+
+package() {
+ cd python-mpd2
+
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
+
+# vim: ts=2 sw=2 et: