summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6b344bbf52e58d80660ef4fbfec5aaad9ffdf281 (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.2.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.2.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"
}