summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Babič2017-02-13 20:40:27 +0100
committerPeter Babič2017-02-13 20:43:27 +0100
commit7b10aa5314f693a7261b8df29ed34bac479e93e6 (patch)
tree6776b0b13f99b4c2e7a989072907b271d5b670da
parent22e3ce2d741ce9644cbbd58762bef4275a207b3f (diff)
downloadaur-7b10aa5314f693a7261b8df29ed34bac479e93e6.tar.gz
fix the pach error
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD25
2 files changed, 7 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5b5ada8029c0..dfeb5aedf20b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = scriptbasic
pkgdesc = Scriba compiler for a powerful scripting language/API
pkgver = 2.1_RC1
- pkgrel = 1
+ pkgrel = 2
url = http://www.scriptbasic.org/
arch = x86_64
license = unknown
diff --git a/PKGBUILD b/PKGBUILD
index db9f386d6852..7dcf363f2d2d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,12 @@
# Mainer: Peter Babič <babicpet at gmail dot com>
pkgname=scriptbasic
pkgver=2.1_RC1
-pkgrel=1
+pkgrel=2
pkgdesc="Scriba compiler for a powerful scripting language/API"
arch=("x86_64")
url="http://www.scriptbasic.org/"
license=('unknown')
-groups=()
depends=('postgresql-libs')
-makedepends=()
-checkdepends=()
-optdepends=()
-provides=()
-conflicts=()
-replaces=()
-backup=()
-options=()
-install=
-changelog=
source=("http://www.scriptbasic.org/download/SB_${pkgver}_Linux.tar.gz"
"scriptbasic_arch.patch")
noextract=()
@@ -26,21 +15,19 @@ md5sums=('374a37fff435d26c08cfe2ed8d694a8e'
validpgpkeys=()
prepare() {
- cd "scriptbasic"
- patch -p1 -i "scriptbasic_arch.patch"
+ sudo chmod -R 755 "scriptbasic"
+# cd "scriptbasic"
+ patch -p0 -i "scriptbasic_arch.patch"
}
build() {
cd "scriptbasic"
./setup
+ make clean
+ ./setup
./setup --install
}
-#check() {
-# cd "$pkgname-$pkgver"
-# make -k check
-#}
-
package() {
cd "scriptbasic"
sudo ./install.sh