summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d0b1993daaa951f2448e490e308cfd9341d177da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: Alexander Konarev  <avkonarev@gmail.com>
# Author: Andrey Ovsankin aka EvilBeaver

pkgname=onescript
pkgver=1.0.18
_pkgver=1_0_18
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="http://oscript.io/"
depends=('mono')
makedepens=('tar ar xz')

source=(
        "source.deb::http://oscript.io/downloads/$_pkgver/deb"
        )

md5sums=('2dccc72382964249de8a5904f1b68280')


prepare() {
  cd $srcdir
  for f in *.deb                 
  do
      ar p $f data.tar.xz | tar -Jx
      rm $f
  done
  rm control.tar.gz data.tar.xz debian-binary
}

package() {
  cd $srcdir
#  install -Dm755 oscript "$pkgdir/usr/bin/oscript"
#
#  cd $srcdir/OneScript-$pkgver/
#  mkdir -p "$pkgdir/usr/lib/oscript"


  cp -r .  $pkgdir
}