summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Angel Useche Castro2018-09-18 22:21:37 -0400
committerMiguel Angel Useche Castro2018-09-18 22:21:37 -0400
commita139b0827f2ace95a4e0cd2ac53062fda31c0f65 (patch)
tree61d434afbcf8865799bd383ce4d44acbaa727200
parentcc3aaca6f077a7569eea319d99e395f78a818e0c (diff)
downloadaur-a139b0827f2ace95a4e0cd2ac53062fda31c0f65.tar.gz
adding archicture depednency
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD15
2 files changed, 8 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e78b26ef444..d108097484e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = pseint
pkgdesc = A tool for learning programming basis with a simple spanish pseudocode
pkgver = 20180801
- pkgrel = 1
+ pkgrel = 2
url = http://pseint.sourceforge.net
arch = i686
arch = x86_64
license = GPL
depends = libpng12
depends = glu
- source = https://razaoinfo.dl.sourceforge.net/project/pseint/20180801/pseint-l64-20180801.tgz
- sha256sums = a2918fc88621b33c48fa895816e509f252aa849a49ace6173c22b098a32618cc
+ source_x86_64 = https://razaoinfo.dl.sourceforge.net/project/pseint/20180801/pseint-l64-20180801.tgz
+ sha256sums_x86_64 = a2918fc88621b33c48fa895816e509f252aa849a49ace6173c22b098a32618cc
pkgname = pseint
diff --git a/PKGBUILD b/PKGBUILD
index f8fb8d6b005..9de7709fbd3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Cristophero <cristophero.alvarado@gmail.com>
pkgname=pseint
pkgver=20180801
-pkgrel=1
+pkgrel=2
pkgdesc="A tool for learning programming basis with a simple spanish pseudocode"
arch=('i686' 'x86_64')
url="http://pseint.sourceforge.net"
@@ -12,16 +12,11 @@ groups=()
depends=('libpng12' 'glu')
makedepends=()
optdepends=()
-if [ "${CARCH}" = 'x86_64' ]; then
- _pkgarch="l64"
- _sha256sum="a2918fc88621b33c48fa895816e509f252aa849a49ace6173c22b098a32618cc"
-elif [ "${CARCH}" = 'i686' ]; then
- _pkgarch="l32"
- _sha256sum="67e225ae81c2a2a5d88db374bfe81de8bdb880f5e3452e6ca3796d7b6ef0f8f2"
-fi
-source=(https://razaoinfo.dl.sourceforge.net/project/${pkgname}/${pkgver}/$pkgname-${_pkgarch}-${pkgver}.tgz)
+source_x86=(https://razaoinfo.dl.sourceforge.net/project/${pkgname}/${pkgver}/$pkgname-l32-${pkgver}.tgz)
+source_x86_64=(https://razaoinfo.dl.sourceforge.net/project/${pkgname}/${pkgver}/$pkgname-l64-${pkgver}.tgz)
noextract=()
-sha256sums=("${_sha256sum}")
+sha256sums_x86=("67e225ae81c2a2a5d88db374bfe81de8bdb880f5e3452e6ca3796d7b6ef0f8f2")
+sha256sums_x86_64=("a2918fc88621b33c48fa895816e509f252aa849a49ace6173c22b098a32618cc")
package() {
mkdir -p "${pkgdir}/opt/${pkgname}"