mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 23:49:03 +08:00
30 lines
758 B
Bash
30 lines
758 B
Bash
pkgname=vala
|
|
pkgver=0.40.9
|
|
pkgrel=1
|
|
pkgdesc="Compiler for the GObject type system."
|
|
arch=('x86_64')
|
|
url="https://wiki.gnome.org/Projects/Vala"
|
|
license=('LGPL')
|
|
depends=('glib2' 'graphviz' 'ttf-font' 'pkg-config' 'gcc')
|
|
makedepends=('libxslt' 'gtk-doc' 'help2man')
|
|
checkdepends=('dbus' 'libx11' 'gobject-introspection')
|
|
source=(https://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz)
|
|
sha256sums=('c7ff0480779b2d78d6ff78f5fd165b3ba972e4fa9e9da1b411ff4375a78c6a7b')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
}
|