[arch-commits] Commit in sugar-activity-turtleart (3 files)

Balló György bgyorgy at archlinux.org
Mon Mar 11 22:32:23 UTC 2019


    Date: Monday, March 11, 2019 @ 22:32:22
  Author: bgyorgy
Revision: 439895

archrelease: copy trunk to community-any

Added:
  sugar-activity-turtleart/repos/
  sugar-activity-turtleart/repos/community-any/
  sugar-activity-turtleart/repos/community-any/PKGBUILD
    (from rev 439894, sugar-activity-turtleart/trunk/PKGBUILD)

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

Copied: sugar-activity-turtleart/repos/community-any/PKGBUILD (from rev 439894, sugar-activity-turtleart/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2019-03-11 22:32:22 UTC (rev 439895)
@@ -0,0 +1,25 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=sugar-activity-turtleart
+_pkgname=TurtleBlocks
+pkgver=218
+pkgrel=1
+pkgdesc="Logo-inspired graphical turtle for Sugar"
+arch=('any')
+url="https://wiki.sugarlabs.org/go/Activities/Turtle_Art"
+license=('MIT')
+groups=('sugar-fructose')
+depends=('sugar-toolkit-gtk3')
+source=(https://download.sugarlabs.org/sources/sucrose/fructose/TurtleArt/$_pkgname-$pkgver.tar.bz2)
+sha256sums=('b6bbdb86ce955ee981d128e84f853b37fefab641a5c69fb12c0984a00232b36c')
+
+prepare() {
+  cd $_pkgname-$pkgver
+  find . -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  python2 setup.py install --prefix "$pkgdir/usr" --skip-install-desktop-file
+  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}


More information about the arch-commits mailing list