#!/bin/sh # Build script for libtermkey (plain Makefile, uses the system GNU libtool # binary directly - not a generated per-project libtool script). Needs # base/unibilium built + installed first; the Makefile locates it via # pkg-config ($(call pkgconfig, ...)), so PKG_CONFIG_PATH must reach # $PREFIX/lib/pkgconfig. set -e cd "$SRCDIR" export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig:$PKG_CONFIG_PATH" export CFLAGS="${CFLAGS} -I$PREFIX/include -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS" export LDFLAGS="${LDFLAGS} -L$PREFIX/lib -R$PREFIX/lib" gmake -j${JOBS:-1} PREFIX="$PREFIX" gmake install PREFIX="$PREFIX" DESTDIR="$PKGDIR" # libtermkey - terminal keyboard entry reading library (neovim TUI input) # http://www.leonerd.org.uk/code/libtermkey/ [package] name = "libtermkey" version = "0.22" release = 1 description = "Terminal keypress reading library" url = "http://www.leonerd.org.uk/code/libtermkey/" license = "MIT" maintainer = "Chris Tusa " arch = "x86_64" [dependencies] runtime = ["unibilium"] build = ["unibilium"] [[source]] file = "libtermkey-0.22.tar.gz" urls = ["http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.22.tar.gz"] checksum = "6945bd3c4aaa83da83d80a045c5563da4edd7d0374c62c0d35aec09eb3014600" [build] parallel = true