summaryrefslogtreecommitdiffhomepage
path: root/groups.d/261.native_packages_x11.d/st.package
diff options
context:
space:
mode:
authorLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2024-04-24 15:24:48 +0200
committerLucía Andrea Illanes Albornoz <lucia@luciaillanes.de>2024-04-24 15:24:48 +0200
commitb2c1ea9526151c4fed9dca8348019d718f489e76 (patch)
tree4d7e65a3553f0c3c4eabec884075a36eb5e56c2b /groups.d/261.native_packages_x11.d/st.package
parent4e929dbbad9c3b8d2d88f7a44916f14758d39ee5 (diff)
downloadmidipix_build-b2c1ea9526151c4fed9dca8348019d718f489e76.tar.bz2
midipix_build-b2c1ea9526151c4fed9dca8348019d718f489e76.tar.xz
Implements single package files.
Diffstat (limited to 'groups.d/261.native_packages_x11.d/st.package')
-rw-r--r--groups.d/261.native_packages_x11.d/st.package16
1 files changed, 16 insertions, 0 deletions
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