New package: libmarkdown2-2.2.7d

This commit is contained in:
Đoàn Trần Công Danh 2025-01-05 08:18:51 +07:00
parent 5f8c7d55b7
commit 3e64f3b42b
3 changed files with 34 additions and 0 deletions

View File

@ -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

1
srcpkgs/libmarkdown2-devel Symbolic link
View File

@ -0,0 +1 @@
libmarkdown2

View File

@ -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 <leah@vuxu.org>"
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
}
}