summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlexander Konarev2017-07-02 12:02:53 +0300
committerAlexander Konarev2017-07-02 12:02:53 +0300
commit28fd23384fc57235b7fe9a4b8931551ea950bd7c (patch)
treeaa8dcff66c29a1b01ed6dc2f1ace33f14fcfaa57 /PKGBUILD
parent67d257752302a4482bcc5e21b6fbfbee2c869e45 (diff)
downloadaur-28fd23384fc57235b7fe9a4b8931551ea950bd7c.tar.gz
New version
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 19 insertions, 13 deletions
diff --git a/PKGBUILD b/PKGBUILD
index c9f1a892eb4..cc26f49cdc1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,34 +2,40 @@
# Author: Andrey Ovsankin aka EvilBeaver
pkgname=onescript
-pkgver=1.0.10
-pkgrel=2
+pkgver=1.0.16
+_pkgver=1_0_16
+pkgrel=1
pkgdesc="This project is an alternative implementation of the virtual machine, execute scripts in the language of the 1C:Enterprise"
arch=("i686" "x86_64")
license=('GPL3' 'LGPL3')
-url="https://bitbucket.org/EvilBeaver/1script"
+url="http://oscript.io/"
depends=('mono')
makedepens=('unzip')
source=(
- "https://bitbucket.org/EvilBeaver/1script/downloads/OneScript-$pkgver-bin.zip"
- "oscript"
+ "source.deb::http://oscript.io/downloads/$_pkgver/deb"
)
-noextract=("OneScript-$pkgver-bin.zip")
-md5sums=('b68f9065bd9146c13f809a8fdb6b3809'
- '907f8929debbe8a307fbe15b5f60cf68')
+md5sums=('7e7d0d287c525508d5c21f7e113e4149')
+
prepare() {
cd $srcdir
- unzip OneScript-$pkgver-bin.zip -d OneScript-$pkgver
+ for f in *.deb
+ do
+ ar p $f data.tar.xz | tar -Jx
+ rm $f
+ done
+ rm control.tar.gz data.tar.xz deb debian-binary
}
package() {
cd $srcdir
- install -Dm755 oscript "$pkgdir/usr/bin/oscript"
+# install -Dm755 oscript "$pkgdir/usr/bin/oscript"
+#
+# cd $srcdir/OneScript-$pkgver/
+# mkdir -p "$pkgdir/usr/lib/oscript"
+
- cd $srcdir/OneScript-$pkgver/
- mkdir -p "$pkgdir/usr/lib/oscript"
- cp -r . "$pkgdir/usr/lib/oscript"
+ cp -r . $pkgdir
}