summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e77cdb092c3dc931e957037b8e257edd916fe1bc (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
pkgname=rubycreator
pkgver=4.1.0
pkgrel=1
pkgdesc="Plugin to add Ruby language support to QtCreator IDE."
arch=("x86_32" "x86_64")
url="http://hugopl.github.io/RubyCreator/"
license=('LGPL3')
groups=()
depends=('qtcreator')
makedepends=('ruby')
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
source=('https://github.com/hugopl/RubyCreator/archive/v4.1.0.tar.gz')
noextract=()
md5sums=('SKIP')

build() {
  cd "$srcdir/RubyCreator-$pkgver"
  ./configure.rb
  cd build
  make -j9
}

check() {
  test -f "$srcdir/RubyCreator/build/libRuby.so"
}

package() {
  mkdir -p "$pkgdir/usr/lib/qtcreator/plugins"
  mv "$srcdir/RubyCreator/build/libRuby.so" "$pkgdir/usr/lib/qtcreator/plugins"
}