[arch-commits] Commit in (foxdot foxdot/repos foxdot/trunk foxdot/trunk/PKGBUILD)

David Runge dvzrv at archlinux.org
Tue Jul 30 15:55:41 UTC 2019


    Date: Tuesday, July 30, 2019 @ 15:55:40
  Author: dvzrv
Revision: 495324

Adding foxdot.

Added:
  foxdot/
  foxdot/repos/
  foxdot/trunk/
  foxdot/trunk/PKGBUILD

----------+
 PKGBUILD |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

Added: foxdot/trunk/PKGBUILD
===================================================================
--- foxdot/trunk/PKGBUILD	                        (rev 0)
+++ foxdot/trunk/PKGBUILD	2019-07-30 15:55:40 UTC (rev 495324)
@@ -0,0 +1,52 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+
+_name=FoxDot
+pkgname=foxdot
+pkgver=0.7.34
+pkgrel=1
+pkgdesc="Live Coding with Python"
+arch=('any')
+url="https://foxdot.org"
+license=('CCPL')
+groups=('pro-audio')
+depends=('python' 'supercollider' 'tk')
+makedepends=('gendesk' 'python-setuptools')
+checkdepends=('python-pytest')
+optdepends=('sc3-plugins: use additional UGens')
+# pypi sdist doesn't contain tests: https://github.com/Qirky/FoxDot/issues/188
+#source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${_name}-${pkgver}.tar.gz")
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Qirky/${pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('3efd39fc4f36939c9d64020044b2b7fd3aaf38f477786e5af4016a5b58135ad34ff27d8d815f333f1fe2f3854114f6c4b642a3bb8bdd0b3b003990b8fb46a8fb')
+
+prepare() {
+  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  gendesk -n \
+          --pkgname "${pkgname}" \
+          --name "${_name}" \
+          --exec "${_name}" \
+          --genericname "Live Coding Editor" \
+          --categories "AudioVideo;Audio"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  py.test
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --prefix=/usr \
+                          --skip-build \
+                          --optimize=1 \
+                          --root="${pkgdir}"
+  install -vDm 644 *.desktop -t "${pkgdir}/usr/share/applications"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 {README.md,changelog} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list