contrib/discount/Pkgfile

23 lines
541 B
Plaintext

# Description: C implementation of John Gruber's Markdown markup language
# URL: http://www.pell.portland.or.us/~orc/Code/discount/
# Maintainer: John Vogel, jvogel4 at stny dot rr dot com
name=discount
version=2.2.7
release=1
source=(https://github.com/Orc/$name/archive/v$version/$name-$version.tar.gz)
build() {
cd $name-$version
export PKG_CONFIG_PATH+=":$SRC/$name-$version"
./configure.sh \
--prefix=/usr \
--pkg-config \
--shared
make libmarkdown
make
make DESTDIR=$PKG install install.man install.samples
}