### this file is sourced not run
PKGVER=2016.01
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=mdview-2016-02-02.tar.bz2
MD5SUM=54a512f84b9fcc395a88cabfb28d3724
SRC_URL=http://distro.ibiblio.org/fatdog/source/710/$TARBALL
BUNDLE=

SLACKREQ='gtk2' # gettext build-time only
SLACKDESC='mdview: mdview 2016.01 (Simple markdown viewer)
mdview: 
mdview: mdview is a super light-weight, GTK-based markdown files viewer. It 
mdview: has no other dependencies other than GTK itself. It reads and 
mdview: displays text files in (a subset of) markdown format, and provide 
mdview: live links to other files as well as to the Internet. It is ideal for 
mdview: showing help files (its original purpose), user manuals, and other 
mdview: small set of hyperlinked markdown files.
mdview: 
mdview: 
mdview: 
'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/mdview*
	make DEBUG="-Os -s" &&
	install -m755 mdview /usr/bin &&
	install -dm755 /usr/share/mdview/examples &&
	install -m644 examples/* /usr/share/mdview/examples &&
	install -dm755 /usr/share/locale/de/LC_MESSAGES &&
	msgfmt po/de.po > /usr/share/locale/de/LC_MESSAGES/mdview.mo &&
	pkg_build_slackdesc
}
