From b2fef2445eb9358666319c8a41635edcb0e254a9 Mon Sep 17 00:00:00 2001 From: Steve Prybylski Date: Tue, 13 Oct 2015 16:46:12 -0400 Subject: [PATCH] New package: libvterm-0.0.20151005 --- common/shlibs | 1 + srcpkgs/libvterm-devel | 1 + srcpkgs/libvterm/template | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 120000 srcpkgs/libvterm-devel create mode 100644 srcpkgs/libvterm/template diff --git a/common/shlibs b/common/shlibs index 3572c11571..236fccfa12 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2225,3 +2225,4 @@ libi3ipc-glib-1.0.so.0 i3ipc-glib-0.6.0_1 libcsound64.so.6.0 csound-6.05.0_1 libcsnd6.so.6.0 csound-6.05.0_1 libfko.so.2 libfko-2.6.7_1 +libvterm.so.0 libvterm-0.0.20151005_1 diff --git a/srcpkgs/libvterm-devel b/srcpkgs/libvterm-devel new file mode 120000 index 0000000000..c57669283e --- /dev/null +++ b/srcpkgs/libvterm-devel @@ -0,0 +1 @@ +libvterm \ No newline at end of file diff --git a/srcpkgs/libvterm/template b/srcpkgs/libvterm/template new file mode 100644 index 0000000000..38db02e1f7 --- /dev/null +++ b/srcpkgs/libvterm/template @@ -0,0 +1,38 @@ +# Template file for 'libvterm' +pkgname=libvterm +version=0.0.20151005 +revision=1 +_commit=fdb97e8c64da797ce252213657188f399b72246f +wrksrc="${pkgname}-${_commit}" +build_style=gnu-makefile +make_install_target="install-lib install-inc" +hostmakedepends="libtool perl pkg-config" +short_desc="Abstract VT220/xterm/ECMA-48 emulation library" +maintainer="Steve Prybylski " +license="MIT" +homepage="http://www.leonerd.org.uk/code/libvterm" +distfiles="https://github.com/neovim/${pkgname}/archive/${_commit}.tar.gz>${pkgname}-${version}.tar.gz" +checksum=402e5bf2561fd934507c5bfb1a49829eb56c09d4d660e2e148c688d0afc78962 + +post_extract() { + if [ "$CROSS_BUILD" ]; then + cp /usr/bin/libtool . + sed -e "s,CCLD=.*,CCLD=$CC,g;s,CC=.*,CC=$CC,g" -i libtool + sed -e "s,libtool,./libtool,g" -i Makefile + fi +} + +post_install() { + vlicense LICENSE +} + +libvterm-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/*.a + vmove usr/lib/*.so + vmove usr/lib/pkgconfig + } +}