termux-packages/packages/valac/build.sh

16 lines
674 B
Bash
Raw Normal View History

2017-01-03 14:32:40 +01:00
TERMUX_PKG_HOMEPAGE=https://wiki.gnome.org/Projects/Vala
TERMUX_PKG_DESCRIPTION="C# like language for the GObject system"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="LGPL-2.0"
2020-06-21 20:38:25 +02:00
TERMUX_PKG_VERSION=0.48.6
2018-05-23 22:56:54 +02:00
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/vala/${TERMUX_PKG_VERSION:0:4}/vala-$TERMUX_PKG_VERSION.tar.xz
2020-06-21 20:38:25 +02:00
TERMUX_PKG_SHA256=d18d08ed030ce0e0f044f4c15c9df3c25b15beaf8700e45e43b736a6debf9707
TERMUX_PKG_DEPENDS="clang, glib, pkg-config"
TERMUX_PKG_BREAKS="valac-dev"
TERMUX_PKG_REPLACES="valac-dev"
2019-04-18 00:14:52 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-cgraph=no"
2018-05-23 22:56:54 +02:00
2018-02-06 22:00:37 +01:00
termux_step_post_make_install() {
cd $TERMUX_PREFIX/lib
2019-04-18 00:14:52 +02:00
ln -s -f vala-${TERMUX_PKG_VERSION:0:4}/libvalaccodegen.so libvalaccodegen.so
2018-02-06 22:00:37 +01:00
}