25 lines
870 B
Bash
25 lines
870 B
Bash
#!/bin/sh
|
|
name="libtermkey"
|
|
short_desc="Easy processing of keyboard entry from terminal-based programs"
|
|
desc="This library allows easy processing of keyboard entry from terminal-based programs.
|
|
It handles all the necessary logic to recognise special keys, UTF-8 combining, and so on,
|
|
with a simple interface."
|
|
category="devel"
|
|
version="0.22"
|
|
maintainer="oak@petrifiedoak.com"
|
|
www="https://www.leonerd.org.uk/code/libtermkey/"
|
|
master_site="https://www.leonerd.org.uk/code/libtermkey/"
|
|
source_name="$name-$version.tar.gz"
|
|
license_logic="single"
|
|
licenses=("MIT")
|
|
|
|
build_dependencies=("lang/gcc" "devel/gmake" "devel/ncurses" "devel/pkgconf" "devel/libtool")
|
|
run_dependencies=("devel/ncurses" "system/glibc")
|
|
|
|
build_process() {
|
|
cd "$name-$version" || exit 1
|
|
sed -i -e 's/"pkg-config"/pkgconf/g' Makefile
|
|
make DESTDIR="$TAMANDUA_STAGE_DIR" install
|
|
}
|
|
|