blob: aad2232fe28b277b573ff5bc513e0e1fcaa56c07 (
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
|
# Maintainer: Alessio Sergi <asergi at archlinux dot us>
pkgname=vala-010
_pkgname=vala
pkgver=0.10.4
pkgrel=1
pkgdesc="Compiler for the GObject type system (0.10 branch)"
arch=('i686' 'x86_64' 'mips64el')
url="http://live.gnome.org/Vala"
license=('LGPL2.1')
depends=('glib2')
makedepends=('libxslt')
options=('!libtool')
source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgname}/0.10/${_pkgname}-${pkgver}.tar.bz2)
sha256sums=('4d23bd8b904ec59537ed5bcf44064104ccc41d639a3386cbc62d91f6bf0301c4')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
./configure --prefix=/opt/vala-0.10 \
--enable-vapigen
make
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
# make it nice
install -d -m755 ${pkgdir}/usr/bin
ln -s /opt/vala-0.10/bin/{vala-0.10,valac-0.10,vala-gen-introspect-0.10,vapicheck-0.10,vapigen-0.10} ${pkgdir}/usr/bin/
}
|