blob: 72819a481c0c569ab043a2cd9d34d8298fb874e3 (
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=archlinux')
noextract=()
md5sums=('SKIP')
pkgver() {
cd "$srcdir/RubyCreator"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
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"
}
|