summaryrefslogtreecommitdiff
path: root/elementary/vala-010
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-13 19:04:06 +0000
committerroot <root@rshg047.dnsready.net>2011-06-13 19:04:06 +0000
commit7c64c5039335c73eaa1a402c417235e8ca9a5109 (patch)
treed53f2d1fc693b98b4a942b1bb1257bafbc67262a /elementary/vala-010
parentad4b2565385561c6ff56f1f91c1e40115cf939d7 (diff)
Mon Jun 13 19:04:06 UTC 2011
Diffstat (limited to 'elementary/vala-010')
-rw-r--r--elementary/vala-010/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/elementary/vala-010/PKGBUILD b/elementary/vala-010/PKGBUILD
new file mode 100644
index 000000000..7712f99c4
--- /dev/null
+++ b/elementary/vala-010/PKGBUILD
@@ -0,0 +1,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')
+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/
+}
+