blob: 3691a7c008a7974dc7761176a0b3ff1154b5adb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Contributor: Daniel Sabogal <dsabogalcc@gmail.com>
# Maintainer:
pkgname=discount
pkgver=2.2.1
pkgrel=0
pkgdesc="A Markdown to HTML translator written in C"
url="http://www.pell.portland.or.us/~orc/Code/discount/"
arch="all"
license="BSD"
depends="!markdown"
makedepends=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.pell.portland.or.us/~orc/Code/discount/$pkgname-$pkgver.tar.bz2
configure.inc.patch"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure.sh \
--prefix=/usr \
--mandir=/usr/share/man \
--enable-all-features \
--with-fenced-code \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make PREFIX=/usr DESTDIR="$pkgdir" install install.man || return 1
}
md5sums="6b5ae87cca38240c50d5a1948eef81dd discount-2.2.1.tar.bz2
03b4ae14cfe1344eba577169516a35e1 configure.inc.patch"
sha256sums="88458c7c2cfc870f8e6cf42b300408c112e05a45c88f8af35abb33de0e96fe0e discount-2.2.1.tar.bz2
7d524f06e6ede17657141b47a6da2bbc446101dc0bc9027e52e4b43820625427 configure.inc.patch"
sha512sums="3005503628ca05096b471e76e9999e112a0727f1851b9896b173d24cddcb9e9326b533919d8edbee75e28f5a7e6c5cb6930718ff195b73805326bbf77c95c7ff discount-2.2.1.tar.bz2
d243f0b5e01cd91376fa94960e9abcdbf24d3579f7d4b5220262e867adefdc5e9ed850fe0228cc290ed605f4b42c50a5ce1ac3fb61ff191a24dc2349d16b2ff2 configure.inc.patch"
|