From b2c1ea9526151c4fed9dca8348019d718f489e76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luc=C3=ADa=20Andrea=20Illanes=20Albornoz?= Date: Wed, 24 Apr 2024 15:24:48 +0200 Subject: Implements single package files. --- groups.d/261.native_packages_x11.d/st.package | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 groups.d/261.native_packages_x11.d/st.package (limited to 'groups.d/261.native_packages_x11.d/st.package') diff --git a/groups.d/261.native_packages_x11.d/st.package b/groups.d/261.native_packages_x11.d/st.package new file mode 100644 index 00000000..2194c42d --- /dev/null +++ b/groups.d/261.native_packages_x11.d/st.package @@ -0,0 +1,16 @@ +: ${PKG_ST_DEPENDS:="freetype fontconfig libX11 libXft"}; +: ${PKG_ST_SHA256SUM:=f7870d906ccc988926eef2cc98950a99cc78725b685e934c422c03c1234e6000}; +: ${PKG_ST_VERSION:=0.7}; +: ${PKG_ST_URL:=https://dl.suckless.org/st/st-${PKG_ST_VERSION}.tar.gz}; +: ${PKG_ST_BUILD_STEPS_DISABLE:=install_make}; +: ${PKG_ST_CFLAGS_BUILD_EXTRA:="-I${PREFIX_NATIVE}/include/freetype2 -I${PREFIX_NATIVE}/include"}; +: ${PKG_ST_IN_TREE:=1}; +: ${PKG_ST_INSTALL_FILES_V2:=" + +../st-${PKG_ST_VERSION}/st=bin/%[FNAME] + +../st-${PKG_ST_VERSION}/st.info=share/info/%[FNAME] + +../st-${PKG_ST_VERSION}/st.1=share/man/man1/%[FNAME]"}; +: ${PKG_ST_LDFLAGS_BUILD_EXTRA:=-L${PREFIX_NATIVE}/lib -lX11 -lXft -lfreetype -lfontconfig}; + +ex_pkg_register "st" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages"; + +# vim:filetype=sh textwidth=0 -- cgit v1.2.3