diff --git a/cmark/.footprint b/cmark/.footprint new file mode 100644 index 000000000..5b194ffa4 --- /dev/null +++ b/cmark/.footprint @@ -0,0 +1,22 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/cmark +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/cmark.h +-rw-r--r-- root/root usr/include/cmark_export.h +-rw-r--r-- root/root usr/include/cmark_version.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/cmake/ +-rw-r--r-- root/root usr/lib/cmake/cmark-release.cmake +-rw-r--r-- root/root usr/lib/cmake/cmark.cmake +-rw-r--r-- root/root usr/lib/libcmark.a +lrwxrwxrwx root/root usr/lib/libcmark.so -> libcmark.so.0.29.0 +-rwxr-xr-x root/root usr/lib/libcmark.so.0.29.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libcmark.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/cmark.1.gz +drwxr-xr-x root/root usr/share/man/man3/ +-rw-r--r-- root/root usr/share/man/man3/cmark.3.gz diff --git a/cmark/.signature b/cmark/.signature new file mode 100644 index 000000000..44882f3fb --- /dev/null +++ b/cmark/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF3+kmr9CST9kPQbnKX+Lkj7L6mBWgQw172dBlDPZZPlYtV/Yp4Mp2CyZt5COKbA56TwuRH6RVQJqgzU94z2P54wk= +SHA256 (Pkgfile) = 1e00090ed8413ed5beb1a05e1f0aafb2a1148d02a506caf4278b5ae97002c9fe +SHA256 (.footprint) = e5a7f390dd93c1251814952881cfb05354403794e97231863ff9f35071099529 +SHA256 (cmark-0.29.0.tar.gz) = 2558ace3cbeff85610de3bda32858f722b359acdadf0c4691851865bb84924a6 diff --git a/cmark/Pkgfile b/cmark/Pkgfile new file mode 100644 index 000000000..9a90194d2 --- /dev/null +++ b/cmark/Pkgfile @@ -0,0 +1,24 @@ +# Description: CommonMark parsing and rendering library and program in C +# URL: https://github.com/jgm/cmark +# Maintainer: Danny Rawlins, crux at romster dot me +# Depends on: cmake python + +name=cmark +version=0.29.0 +release=1 +source=(https://github.com/jgm/$name/archive/$version/$name-$version.tar.gz) + +build() { + cd $name-$version + + mkdir -p build + cd build + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DCMAKE_BUILD_TYPE=Release + + make + make DESTDIR=$PKG install +}