diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 25 insertions, 22 deletions
@@ -1,20 +1,17 @@ +# Generated by mksrcinfo v8 +# Sun Jul 2 09:01:53 UTC 2017 pkgbase = onescript pkgdesc = This project is an alternative implementation of the virtual machine, execute scripts in the language of the 1C:Enterprise - pkgver = 1.0.10 + pkgver = 1.0.16 pkgrel = 1 - url = https://bitbucket.org/EvilBeaver/1script + url = http://oscript.io/ arch = i686 arch = x86_64 license = GPL3 license = LGPL3 depends = mono - noextract = OneScript-1.0.10-bin.zip - source = https://bitbucket.org/EvilBeaver/1script/downloads/OneScript-1.0.10-bin.zip - source = https://bitbucket.org/EvilBeaver/1script/wiki/attachments/snake.os - source = oscript - md5sums = d4f3b23a3cfcf477923ecced2f2f4c83 - md5sums = e88df2f8a75ee97859839b3f45fe7e0a - md5sums = d0c25bfc717401e9806a7612581f6995 + source = source.deb::http://oscript.io/downloads/1_0_16/deb + md5sums = 7e7d0d287c525508d5c21f7e113e4149 pkgname = onescript @@ -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 } |