### this file is sourced not run

# source step
PKGVER=2.2.7b
PKGBUILD=1
PKGARCH=x86_64

TARBALL=discount-$PKGVER.tar.bz2
MD5SUM=524dd06c00cc585bec9c4ce949ec1d11
SRC_URL="https://www.pell.portland.or.us/~orc/Code/discount/$TARBALL"
BUNDLE=

SLACKCON=
SLACKREQ=
SLACKDESC="discount: discount $PKGVER (markdown processor and library)
discount:
discount: Markdown commands to convert text to html with support for various
discount: extensions. C library included.
discount:
discount:
discount: https://www.pell.portland.or.us/~orc/Code/discount/
discount:
discount:
discount:
discount:
"

### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/discount-* &&
	./configure.sh \
		--prefix=/usr --libdir=/usr/$LIBDIR \
		--shared --pkg-config --cxx-binding \
		--github-checkbox \
	&& make &&
	make install.everything &&
	pkg_build_slackdesc &&
	chmod -R 755 /var/cache && rm -fr /etc/ld.so.cache /var/cache
}

# vim:ft=sh:
