Package Details: discount 2.2.2-2

Git Clone URL: (read-only)
Package Base: discount
Description: A Markdown implementation written in C
Upstream URL:
Licenses: custom:BSD
Conflicts: markdown
Provides: markdown
Submitter: pnorcks
Maintainer: hcartiaux
Last Packager: hcartiaux
Votes: 54
Popularity: 0.558403
First Submitted: 2009-09-12 20:47
Last Updated: 2017-09-08 09:17

Dependencies (0)

Required by (62)

Sources (1)

Latest Comments

z3ntu commented on 2017-09-14 16:24

The current PKGBUILD doesn't install the libmarkdown.pc (pkg-config) file. Adding the line

make DESTDIR="$pkgdir" "$pkgdir/usr/lib/pkgconfig/libmarkdown.pc"

after eg the install.everything line, installs it.

cbb commented on 2017-08-30 16:59

There was a "--pkg-config" flag added to the script in v2.2.2 that enables installing the pkg-config file. It would be useful if this flag could be added to the PKGBUILD.

wobbol commented on 2017-03-28 22:44

`sed '<linenum>d' -i` no longer does what it did in 2.2.1. To protect against this kind of failure in the future I've replaced it with something a bit more specific. I will post back here if the shared library portion does not work as expected. Verified `markdown` works.

Updates don't-run-ldconfig hack.
Updates pkgver.

--- PKGBUILD 2016-09-23 18:00:13.000000000 -0500
+++ 2017-03-28 17:27:39.876592370 -0500
@@ -3,7 +3,7 @@
# Contributor: Patrick McCarty <pnorcks at gmail dot com>

pkgdesc="A Markdown implementation written in C"
arch=('i686' 'x86_64')
@@ -12,12 +12,12 @@

build() {
cd "$srcdir/$pkgname-$pkgver"
sed -e 's/m 444/m 644/g' -i
- sed '1347d' -i
+ sed -e '/test.*' -i
./ --prefix=/usr --enable-all-features --with-fenced-code --shared

hcartiaux commented on 2014-02-27 10:50


capitalaslash commented on 2014-02-26 14:08

according to [1], you should add the --with-fenced-code flag to the configuration.


hcartiaux commented on 2014-01-30 18:43

Thank you, I've updated the PKGBUILD.

drevilt commented on 2014-01-30 13:01

2.1.7 is out:
the homepage does not seem to update this information.

hcartiaux commented on 2012-08-17 20:20

I've adopted this package and updated it to 2.1.5a ;)

hcartiaux commented on 2012-02-13 21:22

2.1.3 is out


hcartiaux commented on 2011-08-01 17:03 is out :


All comments