summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMuflone2017-05-28 01:04:06 +0200
committerMuflone2017-05-28 01:04:06 +0200
commitad778d363f21460b087a7358bd8c5bbc3f67f5d2 (patch)
tree8223e397a7b22ec4305fd4b6540fcbf8c73be783 /PKGBUILD
parentfaa8ac20c788cb6959857a1a8c715e447941c89e (diff)
downloadaur-ad778d363f21460b087a7358bd8c5bbc3f67f5d2.tar.gz
Updated package open-sankore 2.5.1-2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD29
1 files changed, 14 insertions, 15 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8d3a32cbc339..58b8a9fb3d82 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,26 +2,25 @@
pkgname=open-sankore
pkgver=2.5.1
-pkgrel=1
+pkgrel=2
pkgdesc="An interactive white board that uses a free standard format"
arch=('i686' 'x86_64')
url="http://open-sankore.org/en/"
-license=(GPL3)
-depends=('python2' 'libpaper' 'phonon' 'gstreamer0.10-base' 'qtwebkit' 'libdbusmenu-qt')
-
-if [ "$CARCH" = "x86_64" ]
-then
- source=("http://www.cndp.fr/${pkgname}/OpenSankore/Releases/v${pkgver}/Open-Sankore_Ubuntu_12.04_${pkgver}_amd64.zip")
- sha256sums=('0cdb5114ca7da1973d2bfc0b53f71009f0a49409f60dbfd9085e177868bbebbf')
- _debarchive="Open-Sankore_${pkgver}_amd64.deb"
-else
- source=("http://www.cndp.fr/${pkgname}/OpenSankore/Releases/v${pkgver}/Open-Sankore_Ubuntu_12.04_${pkgver}_i386.zip")
- sha256sums=('ab061305e1de21ebf8af02a3cb26bc0327f7fcd06fa42977013e98e286dbc213')
- _debarchive="Open-Sankore_${pkgver}_i386.deb"
-fi
+license=('GPL3')
+depends=('python2' 'libpaper' 'phonon-qt4' 'gstreamer0.10-base' 'qtwebkit' 'libdbusmenu-qt' 'openssl-1.0')
+source_i686=("http://www.cndp.fr/${pkgname}/OpenSankore/Releases/v${pkgver}/Open-Sankore_Ubuntu_12.04_${pkgver}_i386.zip")
+source_x86_64=("http://www.cndp.fr/${pkgname}/OpenSankore/Releases/v${pkgver}/Open-Sankore_Ubuntu_12.04_${pkgver}_amd64.zip")
+md5sums_i686=('3e71f9b72d6a96c2bce4bb59be039ee1')
+md5sums_x86_64=('c63ef06ae00d99260084eaed51db94fe')
build() {
- ar -x ${_debarchive} data.tar.gz
+ # Extract open sankore
+ if [ "$CARCH" = "x86_64" ]
+ then
+ ar -x "Open-Sankore_${pkgver}_amd64.deb" data.tar.gz
+ else
+ ar -x "Open-Sankore_${pkgver}_i386.deb" data.tar.gz
+ fi
tar xzf data.tar.gz
# Fix paths from usr/local to usr/lib
sed -i "s#/usr/local/Open-Sankore-${pkgver}#/usr/lib/open-sankore#g" usr/share/applications/Open-Sankore.desktop