# Maintainer: Icaro Perseo pkgname=multimarkdown pkgver=4.7.1 pkgrel=1rvm source=("http://people.salixos.org/icaroperseo/14.1/ap/$pkgname/$pkgname-$pkgver.src.tar.gz") sourcetemplate="http://people.salixos.org/icaroperseo/14.1/ap/$pkgname" docs=('README.md' 'LICENSE') url="http://fletcherpenney.net/multimarkdown/" slackdesc=\ ( #|-----handy-ruler---------------------------------------------------| "multimarkdown ([Multi]Markdown parser)" "MultiMarkdown, or MMD, is a tool to help turn minimally marked-up" "plain text into well formatted documents, including HTML, PDF (by" "way of LaTeX), OPML, or OpenDocument (specifically, Flat" "OpenDocument or ‘.fodt’, which can in turn be converted into RTF," "Microsoft Word, or virtually any other word-processing format)." ) build() { # Acceding to the working directory. cd $pkgname.github # Building the binary file. make || return 1 make install prefix=$startdir/pkg/usr/ make install-scripts prefix=$startdir/pkg/usr/ # This change is necessary because in Salix OS already has a symbolic link # with this name "mmd" (mmd -> mtools). You can verify this as follows: # # ls -l /usr/bin/mmd # # Therefore, this helper script has been renamed convenient to "mmd2html" # to avoid future conflicts. mv $startdir/pkg/usr/bin/mmd $startdir/pkg/usr/bin/mmd2html # Deleting unnecessary files rm $startdir/pkg/usr/bin/markdown.bat }