[arch-commits] Commit in sugar-activity-calculate/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Nov 10 00:32:47 UTC 2018


    Date: Saturday, November 10, 2018 @ 00:32:46
  Author: foutrelis
Revision: 405548

archrelease: copy trunk to community-staging-any

Added:
  sugar-activity-calculate/repos/community-staging-any/
  sugar-activity-calculate/repos/community-staging-any/PKGBUILD
    (from rev 405547, sugar-activity-calculate/trunk/PKGBUILD)

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

Copied: sugar-activity-calculate/repos/community-staging-any/PKGBUILD (from rev 405547, sugar-activity-calculate/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-10 00:32:46 UTC (rev 405548)
@@ -0,0 +1,25 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=sugar-activity-calculate
+_pkgname=Calculate
+pkgver=44
+pkgrel=2
+pkgdesc="Graphing calculator for Sugar"
+arch=('any')
+url="https://wiki.sugarlabs.org/go/Activities/Calculate"
+license=('GPL')
+groups=('sugar-fructose')
+depends=('sugar-toolkit-gtk3')
+optdepends=('python2-matplotlib: alternative plotting backend')
+source=(https://download.sugarlabs.org/sources/sucrose/fructose/$_pkgname/$_pkgname-$pkgver.tar.bz2)
+sha256sums=('917c5be892f50e95209c952330bd22c3e4768bfdfe09b5fa78e9e1fa3c9385ab')
+
+prepare() {
+  cd $_pkgname-$pkgver
+  sed -i 's@^#!.*python$@#!/usr/bin/python2@' setup.py
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  python2 setup.py install --prefix "$pkgdir/usr" --skip-install-desktop-file
+}


More information about the arch-commits mailing list