summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDX372019-03-12 12:05:26 +0700
committerDX372019-03-12 12:05:26 +0700
commitd54c5d3fec9c54397e6551dae12c666aea469a33 (patch)
tree5ac72cb67f6cf2fd36955ffa3dde57c1adbceee1
parent13851c8f652b60c6ad7da8f3768d0d2d9639092d (diff)
downloadaur-d54c5d3fec9c54397e6551dae12c666aea469a33.tar.gz
tabs2spaces
-rw-r--r--PKGBUILD50
1 files changed, 25 insertions, 25 deletions
diff --git a/PKGBUILD b/PKGBUILD
index f6902eea220..c4d3dc8e7f6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ license=('custom')
depends=('glibc')
makedepends=('gendesk')
optdepends=('chromium: alternative browser for model animating'
- 'firefox: alternative browser for model animating')
+ 'firefox: alternative browser for model animating')
provides=('anylogic')
conflicts=('anylogic')
options=(!strip)
@@ -20,35 +20,35 @@ sha256sums_i686=('d5cd96ea5e1170a7d4e8a9e60a27df0a10b9481bad791347109f77d1c73a3c
sha256sums_x86_64=('e03e6f6046b568595f91330ce9153b562d3c6f3e9e6fe8ef252103073da78400')
prepare() {
- msg2 "Unpacking archive..."
- if [ "$CARCH" == "x86_64" ]
- then
- tail -n +279 "$srcdir/$pkgname.linux.x86_64.tgz.bin" > "$pkgname.linux.x86_64.tgz"
- elif [ "$CARCH" == "i686" ]
- then
- tail -n +279 "$srcdir/$pkgname.linux.i586.tgz.bin" > "$pkgname.linux.i586.tgz"
- fi
+ msg2 "Unpacking archive..."
+ if [ "$CARCH" == "x86_64" ]
+ then
+ tail -n +279 "$srcdir/$pkgname.linux.x86_64.tgz.bin" > "$pkgname.linux.x86_64.tgz"
+ elif [ "$CARCH" == "i686" ]
+ then
+ tail -n +279 "$srcdir/$pkgname.linux.i586.tgz.bin" > "$pkgname.linux.i586.tgz"
+ fi
- msg2 "Extracting archive..."
- if [ "$CARCH" == "x86_64" ]
- then
- tar -xf $pkgname.linux.x86_64.tgz
- elif [ "$CARCH" == "i686" ]
- then
- tar -xf $pkgname.linux.i586.tgz
- fi
+ msg2 "Extracting archive..."
+ if [ "$CARCH" == "x86_64" ]
+ then
+ tar -xf $pkgname.linux.x86_64.tgz
+ elif [ "$CARCH" == "i686" ]
+ then
+ tar -xf $pkgname.linux.i586.tgz
+ fi
}
package() {
- mkdir -p "$pkgdir/opt"
+ mkdir -p "$pkgdir/opt"
- msg2 "Copying AnyLogic PLE contents..."
- cp -R "$srcdir/anylogic" "$pkgdir/opt"
+ msg2 "Copying AnyLogic PLE contents..."
+ cp -R "$srcdir/anylogic" "$pkgdir/opt"
- msg2 "Creating .desktop file..."
- gendesk -q -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" --name='AnyLogic PLE' --exec='env SWT_GTK3=0 UBUNTU_MENUPROXY= /opt/anylogic/anylogic'
- install -Dm644 "$srcdir/anylogic/icon.xpm" "$pkgdir/usr/share/pixmaps/$pkgname.xpm"
- install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+ msg2 "Creating .desktop file..."
+ gendesk -q -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" --name='AnyLogic PLE' --exec='env SWT_GTK3=0 UBUNTU_MENUPROXY= /opt/anylogic/anylogic'
+ install -Dm644 "$srcdir/anylogic/icon.xpm" "$pkgdir/usr/share/pixmaps/$pkgname.xpm"
+ install -Dm644 "$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
- install -Dm644 "$srcdir/anylogic/license/Software Licensing Agreement for AnyLogic.txt" "$pkgdir/usr/share/licenses/anylogic/LICENSE"
+ install -Dm644 "$srcdir/anylogic/license/Software Licensing Agreement for AnyLogic.txt" "$pkgdir/usr/share/licenses/anylogic/LICENSE"
}