jobextra/md4c/PKGBUILD
joborun f74586570e move libdatachannel libjuice from jobcomm and upg
upg librewolf md4c pacman-contrib cmonad python-pytest wayland-protocols
2024-01-31 01:29:27 +02:00

38 lines
1.1 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=md4c
pkgver=0.5.2
pkgrel=01
pkgdesc='C Markdown parser'
url='https://github.com/mity/md4c'
depends=(glibc)
makedepends=(cmake)
source=($pkgname-$pkgver.tar.gz::"https://github.com/mity/md4c/archive/release-$pkgver.tar.gz")
build() {
cmake -B build -S $pkgname-release-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
install -Dm644 $pkgname-release-$pkgver/LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname/
}
#---- arch license gpg-key sha256sums ----
arch=(x86_64)
license=(MIT)
sha256sums=(55d0111d48fb11883aaee91465e642b8b640775a4d6993c2d0e7a8092758ef21) # md4c-0.5.2.tar.gz
## 09a30e42bc1713e759e2e053f523b6b28b2245bfae8c515b642f102d1088940a md4c-0.5.2-01-x86_64.pkg.tar.lz