updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / markdown / PKGBUILD
blob2c8e0303c578d436833e7129d98667762be6672d
1 # Maintainer: Robson Cardoso dos Santos <cardoso.rcs@gmail.com>
2 # Contributor: Ivan c00kiemon5ter Kanakarakis <ivan.kanak@gmail.com>
4 pkgname="markdown"
5 pkgver=1.0.1
6 pkgrel=5
7 pkgdesc="Text to (X)HTML conversion tool for web writers."
8 arch=('any')
9 url="http://daringfireball.net/projects/markdown/"
10 license=('BSD')
11 depends=('perl')
12 source=("http://daringfireball.net/projects/downloads/Markdown_${pkgver}.zip")
13 sha256sums=('6520e9b6a58c5555e381b6223d66feddee67f675ed312ec19e9cee1b92bc0137')
15 build() {
16   # Handling the manpage
17   pod2man "$srcdir/Markdown_$pkgver/Markdown.pl" > "$srcdir/Markdown_$pkgver/$pkgname.1"
20 package() {
21   install -Dm755 "$srcdir/Markdown_$pkgver/Markdown.pl" "${pkgdir}/usr/bin/${pkgname}"
22   install -Dm644 "$srcdir/Markdown_$pkgver/License.text" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
23   install -Dm644 "$srcdir/Markdown_$pkgver/$pkgname.1" "$pkgdir/usr/share/man/man1/$pkgname.1"