mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 13:47:14 +08:00
32 lines
867 B
Bash
32 lines
867 B
Bash
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=vala
|
|
pkgver=0.20.1
|
|
pkgrel=1
|
|
pkgdesc="Compiler for the GObject type system."
|
|
arch=('i686' 'x86_64')
|
|
url="http://live.gnome.org/Vala"
|
|
license=('LGPL')
|
|
depends=('glib2')
|
|
makedepends=('libxslt')
|
|
options=('!libtool')
|
|
source=("http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
|
|
md5sums=('f285a90af17c400e5a4bcecb2b9c318a')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
# No, please DON'T mark this as a development version only because Git tells you so;
|
|
# Git is only watching my chroot status, not Vala's repository directory...
|
|
sed -i 's#v="\$v-dirty" ;;$#;;#g' build-aux/git-version-gen
|
|
|
|
./configure --prefix=/usr --enable-vapigen
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|