summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormncarbone2016-02-24 02:19:21 -0300
committermncarbone2016-02-24 02:19:21 -0300
commit6bc3aa2d4a964715e7def644f1310eb372186783 (patch)
tree53bd4aec0956f799463848a0fbffef7cdc3decb2
downloadaur-6bc3aa2d4a964715e7def644f1310eb372186783.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD55
2 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..34120253e70
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by makepkg 5.0.0
+# Wed Feb 24 05:17:41 UTC 2016
+pkgbase = pseint
+ pkgdesc = A tool for learning programming basis with a simple spanish pseudocode
+ pkgver = 20160219
+ pkgrel = 1
+ url = http://pseint.sourceforge.net
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = libpng12
+ source = http://ufpr.dl.sourceforge.net/project/pseint/20160219/pseint-l64-20160219.tgz
+ md5sums = 58747d6d3e88d74c3c161df9925d0fff
+
+pkgname = pseint
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..31701f64e2e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,55 @@
+#Autor: Pablo Novara - Zaskar
+#Maintainer: mncarbone <mncarbone@gmail.com>
+pkgname=pseint
+pkgver=20160219
+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')
+groups=()
+depends=('libpng12')
+makedepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+download_url='http://ufpr.dl.sourceforge.net/project'
+if [ "${CARCH}" = 'x86_64' ]; then
+ pkgarch="l64"
+ md5="58747d6d3e88d74c3c161df9925d0fff"
+elif [ "${CARCH}" = 'i686' ]; then
+ pkgarch="l32"
+ md5="8f0a9443b0538d7106417848bfa2c06c"
+fi
+source=(http://ufpr.dl.sourceforge.net/project/${pkgname}/${pkgver}/$pkgname-${pkgarch}-${pkgver}.tgz)
+noextract=()
+md5sums=("${md5}")
+
+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=/opt/${pkgname}/wxPSeint" >> $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}"
+}