From 3e64f3b42b7551018b24794c48c020ccc2c4e800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 5 Jan 2025 08:18:51 +0700 Subject: [PATCH] New package: libmarkdown2-2.2.7d --- common/shlibs | 1 + srcpkgs/libmarkdown2-devel | 1 + srcpkgs/libmarkdown2/template | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 120000 srcpkgs/libmarkdown2-devel create mode 100644 srcpkgs/libmarkdown2/template diff --git a/common/shlibs b/common/shlibs index 739da7523e3..70f3de1b1ce 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2793,6 +2793,7 @@ libsmpeg2-2.0.so.0 smpeg2-2.0.0_1 libedac.so.1 libedac-0.18_1 libxlsreader.so.8 libxls-1.6.1_1 libR.so R-4.0.2_1 +libmarkdown.so.2 libmarkdown2-2.2.7d_1 libmarkdown.so.3 discount-3.0.0d_1 libkeystone.so.0 keystone-0.9_1 libmate-slab.so.0 libmate-control-center-1.14.0_2 diff --git a/srcpkgs/libmarkdown2-devel b/srcpkgs/libmarkdown2-devel new file mode 120000 index 00000000000..c0fc2aa9ac1 --- /dev/null +++ b/srcpkgs/libmarkdown2-devel @@ -0,0 +1 @@ +libmarkdown2 \ No newline at end of file diff --git a/srcpkgs/libmarkdown2/template b/srcpkgs/libmarkdown2/template new file mode 100644 index 00000000000..89545cc2113 --- /dev/null +++ b/srcpkgs/libmarkdown2/template @@ -0,0 +1,32 @@ +# Template file for 'libmarkdown2' +pkgname=libmarkdown2 +version=2.2.7d +revision=1 +build_style=configure +configure_script="./configure.sh" +configure_args="--prefix=/usr --shared --pkg-config" +depends="discount" +short_desc="C implementation of John Gruber's Markdown" +maintainer="Leah Neukirchen " +license="BSD-3-Clause" +homepage="http://www.pell.portland.or.us/~orc/Code/discount" +distfiles="https://github.com/Orc/discount/archive/v${version}.tar.gz" +checksum=eb9f6629dadddb44c3111267b82e51d5fb8364e228cc3533fe937d8a99e0155b +disable_parallel_build=yes + +do_install() { + make DESTDIR=${DESTDIR} install + vlicense COPYRIGHT + rm -rf "${DESTDIR}/usr/bin" +} + +libmarkdown2-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + conflicts="discount-devel>=0" + pkg_install() { + vmove usr/include + vmove usr/lib/*.so + vmove usr/lib/pkgconfig + } +}