# Description: C implementation of John Gruber's Markdown markup language
# URL: https://github.com/Orc/discount
# Maintainer: CRUX KDE Ports, kde-ports at crux dot nu
# Depends on:

name=discount
version=3.0.1.3
release=1
source=(https://github.com/Orc/discount/archive/v$version/$name-$version.tar.gz)

build() {
    cd $name-$version

    ./configure.sh \
        --prefix=/usr \
        --enable-all-features \
        --with-fenced-code \
        --shared
    sed -i '/ldconfig/d' librarian.sh
    make
    make DESTDIR=$PKG install
}

# vim: set ts=4 et:
