termux-packages/packages/wren/build.sh
Leonid Pliushch 9c9e7f65b8 update maintainer info
Specifying Termux org members is more correct as we don't have repo-specific
maintainers for termux-packages.

DEB control field specification doesn't allow to specify multiple people as
package maintainers. Value "Termux members @termux" will be used as default
for that field which can be overridden on per-package basis if needed.

%ci:no-build
2020-05-13 11:05:52 +03:00

23 lines
764 B
Bash

TERMUX_PKG_HOMEPAGE=http://wren.io/
TERMUX_PKG_DESCRIPTION="Small, fast, class-based concurrent scripting language"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_VERSION=0.1.0
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/wren-lang/wren/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=ebf8687dfdb55997a3fc263d41f306c6f40d9562ccbd945d9c12c48795388eae
TERMUX_PKG_DEPENDS="libuv"
TERMUX_PKG_BREAKS="wren-dev"
TERMUX_PKG_REPLACES="wren-dev"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make_install() {
install -Dm700 "$TERMUX_PKG_SRCDIR"/bin/wren \
"$TERMUX_PREFIX"/bin/wren
install -Dm600 "$TERMUX_PKG_SRCDIR"/src/include/wren.h \
"$TERMUX_PREFIX"/include/wren.h
install -Dm600 "$TERMUX_PKG_SRCDIR"/lib/libwren.so \
"$TERMUX_PREFIX"/lib/libwren.so
}