core/vala/PKGBUILD

30 lines
758 B
Bash
Raw Normal View History

pkgname=vala
2018-05-22 06:34:02 +08:00
pkgver=0.40.6
2015-01-15 20:52:58 +08:00
pkgrel=1
pkgdesc="Compiler for the GObject type system."
arch=('x86_64')
2017-07-13 07:42:25 +08:00
url="https://wiki.gnome.org/Projects/Vala"
license=('LGPL')
2018-04-10 18:32:49 +08:00
depends=('glib2' 'graphviz' 'ttf-font' 'pkg-config' 'gcc')
makedepends=('libxslt' 'gtk-doc' 'help2man')
2015-03-24 07:23:23 +08:00
checkdepends=('dbus' 'libx11' 'gobject-introspection')
2017-04-26 06:56:21 +08:00
source=(https://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
2018-05-22 06:34:02 +08:00
sha256sums=('6da450f1a73e0f1e17506e68cce5b9e8996349e576d3f8cb6b0b73ee22e44be2')
build() {
2014-05-18 14:32:49 +08:00
cd $pkgname-$pkgver
2018-01-31 08:44:31 +08:00
./configure --prefix=/usr
2018-05-22 06:34:02 +08:00
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
2014-05-18 14:32:49 +08:00
make
}
2015-03-24 07:23:23 +08:00
check() {
cd $pkgname-$pkgver
make check
}
package() {
2014-05-18 14:32:49 +08:00
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
2012-01-07 06:30:57 +08:00
}