New package: md4c-0.4.8

For Qt6
This commit is contained in:
Đoàn Trần Công Danh 2023-03-09 23:16:27 +07:00
parent 8e678bfc64
commit 18f9f57eea
6 changed files with 42 additions and 0 deletions

View File

@ -2021,6 +2021,8 @@ libpolkit-qt5-gui-1.so.1 polkit-qt5-0.112.0_1
libpolkit-qt5-core-1.so.1 polkit-qt5-0.112.0_1
libfm-qt.so.13 libfm-qt-1.3.0_1
libqtermwidget5.so.1 qtermwidget-1.0.0_1
libmd4c.so.0 libmd4c-0.4.8_1
libmd4c-html.so.0 libmd4c-html-0.4.8_1
libQt6Core.so.6 qt6-core-6.0.0_1
libQt6OpenGL.so.6 qt6-gui-6.0.0_1
libQt6DBus.so.6 qt6-dbus-6.0.0_1

1
srcpkgs/libmd4c Symbolic link
View File

@ -0,0 +1 @@
md4c

1
srcpkgs/libmd4c-devel Symbolic link
View File

@ -0,0 +1 @@
md4c

1
srcpkgs/libmd4c-html Symbolic link
View File

@ -0,0 +1 @@
md4c

36
srcpkgs/md4c/template Normal file
View File

@ -0,0 +1,36 @@
# Template file for 'md4c'
pkgname=md4c
version=0.4.8
revision=1
build_style=cmake
short_desc="Markdown for C"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="MIT"
homepage="https://github.com/mity/md4c/"
distfiles="https://github.com/mity/md4c/archive/refs/tags/release-${version}.tar.gz"
checksum=4a457df853425b6bb6e3457aa1d1a13bccec587a04c38c622b1013a0da41439f
libmd4c-html_package() {
short_desc+=" - html - libraries"
pkg_install() {
vmove "usr/lib/libmd4c-html.so.*"
}
}
libmd4c_package() {
short_desc+=" - libraries"
pkg_install() {
vmove "usr/lib/libmd4c.so.*"
}
}
libmd4c-devel_package() {
depends="libmd4c>=${version}_${revision} libmd4c-html>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}

1
srcpkgs/md4c/update Normal file
View File

@ -0,0 +1 @@
pattern="release-\K[0-9.]+(?=.tar.gz)"