summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2017-05-12 19:42:48 -0300
committerDavid P <megver83@parabola.nu>2017-05-12 19:42:48 -0300
commitb497b008c4b48c57eb79e394419fa6961b3214c8 (patch)
treee402f9e4fb3a710e1318ccf846de4de701203e08
parentb1e0250f59598af2dad89c401a7f929ecb576f40 (diff)
downloadabslibre-b497b008c4b48c57eb79e394419fa6961b3214c8.tar.gz
abslibre-b497b008c4b48c57eb79e394419fa6961b3214c8.tar.bz2
abslibre-b497b008c4b48c57eb79e394419fa6961b3214c8.zip
Added pseint to [pcr]
-rw-r--r--pcr/pseint/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/pcr/pseint/PKGBUILD b/pcr/pseint/PKGBUILD
new file mode 100644
index 000000000..159a9c934
--- /dev/null
+++ b/pcr/pseint/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: David P. <megver83@parabola.nu>
+# Autor: Pablo Novara - Zaskar
+# Contributor: mncarbone <mncarbone@gmail.com>
+
+pkgname=pseint
+pkgver=20170313
+pkgrel=1
+pkgdesc="A tool for learning programming basis with a simple spanish pseudocode"
+arch=('i686' 'x86_64')
+url="http://pseint.sourceforge.net"
+license=('GPL')
+depends=('libpng12')
+url='http://ufpr.dl.sourceforge.net/project'
+source_x86_64=(http://prdownloads.sourceforge.net/pseint/pseint-l64-${pkgver}.tgz)
+source_i686=(http://prdownloads.sourceforge.net/pseint/pseint-l32-${pkgver}.tgz)
+md5sums_i686=('599fffec2bee56dd456ac2dbbf7241c6')
+md5sums_x86_64=('fd7725ea18034261aa2df2dc15dd8b7c')
+
+package() {
+ mkdir -p "${pkgdir}/opt/${pkgname}"
+ cp -rv "${srcdir}/${pkgname}/"* "${pkgdir}/opt/${pkgname}"
+ mkdir -p "${pkgdir}/usr/share/applications/"
+ desktopfile="${pkgdir}/opt/${pkgname}/${pkgname}.desktop"
+ touch $desktopfile
+ echo "[Desktop Entry]" >> $desktopfile
+ echo "Type=Application" >> $desktopfile
+ echo "Name=PSeInt" >> $desktopfile
+ echo "Comment=${pkgdesc}" >> $desktopfile
+ echo "Comment[es]=Una herramienta para aprender las bases de la programaciĆ³n mediante pseudocodigo en espaƱol" >> $desktopfile
+ echo "Exec=${pkgname}" >> $desktopfile
+ echo "Icon=/opt/${pkgname}/imgs/icon.svg" >> $desktopfile
+ echo "Terminal=false" >> $desktopfile
+ echo "Categories=Development;IDE;" >> $desktopfile
+ mkdir -p "${pkgdir}/usr/share/applications/"
+ cp $desktopfile "${pkgdir}/usr/share/applications/"
+ mkdir -p "${pkgdir}/usr/bin/"
+ touch "${pkgdir}/usr/bin/${pkgname}"
+ echo "#!/usr/bin/env sh" >> "${pkgdir}/usr/bin/${pkgname}"
+ echo "/opt/${pkgname}/wxPSeInt" >> "${pkgdir}/usr/bin/${pkgname}"
+ chmod +x "${pkgdir}/usr/bin/${pkgname}"
+}