From 22e2dd19c9f23626bb707cfacf147914e8892f76 Mon Sep 17 00:00:00 2001 From: Yuusha Spacewolf Date: Thu, 18 Jan 2018 01:21:25 -0600 Subject: [PATCH] st: split terminfo files in subpkg --- srcpkgs/st-terminfo | 1 + srcpkgs/st/{INSTALL => st-terminfo.INSTALL} | 0 srcpkgs/st/{REMOVE => st-terminfo.REMOVE} | 0 srcpkgs/st/template | 12 ++++++++++-- 4 files changed, 11 insertions(+), 2 deletions(-) create mode 120000 srcpkgs/st-terminfo rename srcpkgs/st/{INSTALL => st-terminfo.INSTALL} (100%) rename srcpkgs/st/{REMOVE => st-terminfo.REMOVE} (100%) diff --git a/srcpkgs/st-terminfo b/srcpkgs/st-terminfo new file mode 120000 index 00000000000..8013b0a02fb --- /dev/null +++ b/srcpkgs/st-terminfo @@ -0,0 +1 @@ +st \ No newline at end of file diff --git a/srcpkgs/st/INSTALL b/srcpkgs/st/st-terminfo.INSTALL similarity index 100% rename from srcpkgs/st/INSTALL rename to srcpkgs/st/st-terminfo.INSTALL diff --git a/srcpkgs/st/REMOVE b/srcpkgs/st/st-terminfo.REMOVE similarity index 100% rename from srcpkgs/st/REMOVE rename to srcpkgs/st/st-terminfo.REMOVE diff --git a/srcpkgs/st/template b/srcpkgs/st/template index 61ac92a5c9c..526ae19215a 100644 --- a/srcpkgs/st/template +++ b/srcpkgs/st/template @@ -1,12 +1,12 @@ # Template file for 'st' pkgname=st version=0.7 -revision=2 +revision=3 build_style=gnu-makefile make_use_env=compliant hostmakedepends="pkg-config" makedepends="fontconfig-devel libX11-devel libXft-devel" -depends="ncurses" +depends="ncurses st-terminfo-${version}_${revision}" short_desc="Simple terminal implementation for X" maintainer='Juan RP ' license="MIT" @@ -25,3 +25,11 @@ post_install() { vdoc README vlicense LICENSE } + +st-terminfo_package() { + short_desc+=" - terminfo data" + noarch=yes + pkg_install() { + vmove usr/share/terminfo + } +}