summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnAverageHuman2016-06-02 20:47:24 -0400
committerAnAverageHuman2016-06-02 20:47:24 -0400
commit89c194e0b99eb305210a39653863da738a7afc8c (patch)
tree1fb0a511fb72cde4d81098a5c64482272075e097
parent0da28dcc15996d5036eafb8cc9aff488dbc44727 (diff)
downloadaur-89c194e0b99eb305210a39653863da738a7afc8c.tar.gz
Installed files should now have the correct permissions
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rw-r--r--netlogo.install6
3 files changed, 7 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c1f46e6bd17d..ff659af55632 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Wed May 4 01:50:29 UTC 2016
+# Fri Jun 3 00:04:39 UTC 2016
pkgbase = netlogo
pkgdesc = A multi-agent programmable modeling environment.
pkgver = 5.3.1
- pkgrel = 1
+ pkgrel = 2
url = http://ccl.northwestern.edu/netlogo/
install = netlogo.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 4e59c475f5b2..1d862bb50f13 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=netlogo
pkgver=5.3.1
-pkgrel=1
+pkgrel=2
pkgdesc="A multi-agent programmable modeling environment."
arch=('i686' 'x86_64')
[ "$CARCH" = "i686" ] && _NARCH=32
@@ -21,7 +21,7 @@ package() {
cd $srcdir/$pkgname-$pkgver-$_NARCH
cp -r * $pkgdir/opt/$pkgname
for file in {NetLogo,NetLogo3D,NetLogoLogging,HubNetClient}; do
- chmod +x $file
+ chmod +x $pkgdir/opt/$pkgname/$file
ln -s /opt/$pkgname/$file $pkgdir/usr/bin/
done
}
diff --git a/netlogo.install b/netlogo.install
index d1ca99b11e81..b79ff7aa3779 100644
--- a/netlogo.install
+++ b/netlogo.install
@@ -1,4 +1,4 @@
-post_install(){
- printf "This version of NetLogo comes with a bundled copy of the Java Runtime Environment. \
- You should be able to run the program without any runtime errors. \n"
+post_install() {
+ printf "This version of NetLogo comes with a bundled copy of the Java Runtime Environment. \n
+ You should be able to run the program without any runtime errors. \n"
}