[arch-commits] Commit in sugar-activity-write (3 files)
Balló György
bgyorgy at archlinux.org
Tue Feb 14 01:54:15 UTC 2017
Date: Tuesday, February 14, 2017 @ 01:54:13
Author: bgyorgy
Revision: 212202
archrelease: copy trunk to community-any
Added:
sugar-activity-write/repos/
sugar-activity-write/repos/community-any/
sugar-activity-write/repos/community-any/PKGBUILD
(from rev 212201, sugar-activity-write/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: sugar-activity-write/repos/community-any/PKGBUILD (from rev 212201, sugar-activity-write/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD (rev 0)
+++ repos/community-any/PKGBUILD 2017-02-14 01:54:13 UTC (rev 212202)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=sugar-activity-write
+_pkgname=Write
+pkgver=97
+pkgrel=1
+pkgdesc="Sugar activity to edit texts"
+arch=('any')
+url="https://wiki.sugarlabs.org/go/Activities/Write"
+license=('GPL')
+groups=('sugar-fructose')
+depends=('abiword' 'gconf' 'sugar-toolkit-gtk3')
+source=(https://download.sugarlabs.org/sources/sucrose/fructose/$_pkgname/$_pkgname-$pkgver.tar.bz2)
+sha256sums=('7b2ff1151edb99b7b45d4e2ae1a6eea2551254e96699a88f6fc2bebbd4774892')
+
+prepare() {
+ cd $_pkgname-$pkgver
+ sed -i 's@^#!.*python$@#!/usr/bin/python2@' gridcreate.py setup.py
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ python2 setup.py install --prefix "$pkgdir/usr"
+ rm -r "$pkgdir"/usr/share/applications
+}
More information about the arch-commits
mailing list