summaryrefslogtreecommitdiff
path: root/elementary/vala-010/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'elementary/vala-010/PKGBUILD')
-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/
+}
+