blob: 23d592056eaecaf53583656040b1fd79615f9b91 (
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
|
pkgname=rubycreator-git
pkgver=VERSION
pkgrel=1
pkgdesc="Plugin to add Ruby language support to QtCreator IDE."
arch=("x86_64")
url="http://hugopl.github.io/RubyCreator/"
license=('LGPL3')
groups=()
depends=('qtcreator')
makedepends=('git') # 'bzr', 'git', 'mercurial' or 'subversion'
provides=("${pkgname%-VCS}")
conflicts=("${pkgname%-VCS}")
replaces=()
backup=()
options=()
install=
source=('git+https://github.com/hugopl/RubyCreator.git#branch=qtc-3.5')
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir/RubyCreator"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/RubyCreator"
./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"
}
|