[arch-commits] Commit in foxdot/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Jun 7 21:09:11 UTC 2021
Date: Monday, June 7, 2021 @ 21:09:11
Author: dvzrv
Revision: 958245
archrelease: copy trunk to community-any
Added:
foxdot/repos/community-any/PKGBUILD
(from rev 958244, foxdot/trunk/PKGBUILD)
Deleted:
foxdot/repos/community-any/PKGBUILD
----------+
PKGBUILD | 113 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-07 21:09:02 UTC (rev 958244)
+++ PKGBUILD 2021-06-07 21:09:11 UTC (rev 958245)
@@ -1,56 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=FoxDot
-pkgname=foxdot
-pkgver=0.8.11
-pkgrel=2
-pkgdesc="Live Coding with Python"
-arch=('any')
-url="https://foxdot.org"
-license=('CCPL')
-groups=('pro-audio')
-depends=('python' 'supercollider' 'tk')
-makedepends=('gendesk' 'imagemagick' '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/v${pkgver}.tar.gz")
-sha512sums=('4f1bea5839ac14509dccad395054325f6fce0354ff012d9948800f4cddd08f5d4da29cfc009de42c785d7969fbda215530e9fba3c41d80d68c042d6daf6baa4d')
-
-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" \
- --comment "Live Coding with Python and SuperCollider"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- python setup.py build
- convert -verbose FoxDot/lib/Workspace/img/icon.gif +set date:create +set date:modify "${pkgname}.png"
-}
-
-check() {
- cd "$pkgname-$pkgver"
- pytest -v
-}
-
-package() {
- cd "$pkgname-$pkgver"
- python setup.py install --prefix=/usr \
- --skip-build \
- --optimize=1 \
- --root="${pkgdir}" \
- --verbose
- install -vDm 644 *.desktop -t "${pkgdir}/usr/share/applications"
- install -vDm 644 "${pkgname}.png" -t "${pkgdir}/usr/share/pixmaps"
- install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -vDm 644 {README.md,changelog} \
- -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
Copied: foxdot/repos/community-any/PKGBUILD (from rev 958244, foxdot/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-06-07 21:09:11 UTC (rev 958245)
@@ -0,0 +1,57 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=FoxDot
+pkgname=foxdot
+pkgver=0.8.12
+pkgrel=1
+pkgdesc="Live Coding with Python"
+arch=('any')
+url="https://foxdot.org"
+license=('CCPL')
+groups=('pro-audio')
+depends=('python' 'supercollider' 'tk')
+makedepends=('gendesk' 'imagemagick' '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/v${pkgver}.tar.gz")
+sha512sums=('d0b59bb117871ba5a785c2ab3ce83048a6649f02e8d07f1248432868ec49262bcd44fdf98dc5cb2694e1f8a9b38d76c2ac111c21708ef43fda7ce0d4d8471d64')
+b2sums=('38bd7781daabb4abe3385444fcb254d36a24c532de789fc86063f35ddaacba8092e65bbf4e8b1eb62aff02f2705b35284fcebdfdacca5b0ad5260ffff7293989')
+
+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" \
+ --comment "Live Coding with Python and SuperCollider"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+ convert -verbose FoxDot/lib/Workspace/img/icon.gif +set date:create +set date:modify "${pkgname}.png"
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ pytest -v
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --prefix=/usr \
+ --skip-build \
+ --optimize=1 \
+ --root="${pkgdir}" \
+ --verbose
+ install -vDm 644 *.desktop -t "${pkgdir}/usr/share/applications"
+ install -vDm 644 "${pkgname}.png" -t "${pkgdir}/usr/share/pixmaps"
+ 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