summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzoe2016-01-31 22:04:54 +0100
committerzoe2016-01-31 22:04:54 +0100
commitae101fadf9129ac65866d959903f626ffa3e9b7f (patch)
tree555e87d7558e4bac228251687994a9ded6bf5922
downloadaur-ae101fadf9129ac65866d959903f626ffa3e9b7f.tar.gz
Initial import
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD33
-rw-r--r--etoys.desktop10
-rw-r--r--etoys.install14
-rw-r--r--etoys.pngbin0 -> 14684 bytes
5 files changed, 82 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..261a566112f7
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+# Generated by mksrcinfo v8
+# Sun Jan 31 21:03:59 UTC 2016
+pkgbase = etoys
+ pkgdesc = Educational tool for teaching children powerful ideas in compelling ways. For Sugar
+ pkgver = 5.0.2408
+ pkgrel = 2
+ url = http://www.sugarlabs.org/
+ install = etoys.install
+ arch = i686
+ arch = x86_64
+ groups = sucrose
+ groups = glucose
+ license = GPL
+ depends = sugar
+ depends = squeak-vm
+ depends = shared-mime-info
+ source = http://download.sugarlabs.org/sources/sucrose/glucose/etoys/etoys-5.0.2408.tar.gz
+ source = etoys.desktop
+ source = etoys.png
+ md5sums = c79ee59d8e100cfc2934af8da90519b5
+ md5sums = 14de8b52fee032ad3065cf52a1eddb8c
+ md5sums = 78db4db90ebf3bee26d66758096dcaa5
+
+pkgname = etoys
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..d3ea59cd4518
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: zoe <chp321 AT gmail DOT com>
+# Contributor: Cilyan Olowen <gaknar@gmail.com>
+
+pkgname=etoys
+pkgver=5.0.2408
+_realver=5.0.2408
+pkgrel=2
+pkgdesc="Educational tool for teaching children powerful ideas in compelling ways. For Sugar"
+arch=('i686' 'x86_64')
+url="http://www.sugarlabs.org/"
+license=('GPL')
+groups=('sucrose' 'glucose')
+depends=('sugar' 'squeak-vm' 'shared-mime-info')
+install=etoys.install
+source=("http://download.sugarlabs.org/sources/sucrose/glucose/${pkgname}/${pkgname}-${_realver}.tar.gz"
+ "${pkgname}.desktop" "${pkgname}.png")
+md5sums=('c79ee59d8e100cfc2934af8da90519b5'
+ '14de8b52fee032ad3065cf52a1eddb8c'
+ '78db4db90ebf3bee26d66758096dcaa5')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ PYTHON=python2 ./configure --prefix=/usr --sysconfdir=/etc || return 1
+ make || return 1
+}
+
+package() {
+ install -DTm644 ${srcdir}/${pkgname}.png "${pkgdir}/usr/share/icons/hicolor/80x80/apps/${pkgname}.png"
+ install -DTm644 ${srcdir}/${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make ROOT="$pkgdir" install-etoys install-activity || return 1
+} \ No newline at end of file
diff --git a/etoys.desktop b/etoys.desktop
new file mode 100644
index 000000000000..87d2119642b6
--- /dev/null
+++ b/etoys.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Exec=etoys
+Name=eToys
+GenericName=Educational tool for teaching children
+Comment=Educational tool for teaching children powerful ideas in compelling ways. For Sugar
+Icon=/usr/share/icons/hicolor/80x80/apps/etoys.png
+Terminal=false
+Type=Application
+Categories=Education \ No newline at end of file
diff --git a/etoys.install b/etoys.install
new file mode 100644
index 000000000000..a795fd7deb14
--- /dev/null
+++ b/etoys.install
@@ -0,0 +1,14 @@
+post_install() {
+ echo "Updating mime info..."
+ update-mime-database usr/share/mime
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
+# vim:set ts=2 sw=2 et: \ No newline at end of file
diff --git a/etoys.png b/etoys.png
new file mode 100644
index 000000000000..f1608a4e398b
--- /dev/null
+++ b/etoys.png
Binary files differ