From f8d96c1946ada76bc44cbdbd20bcaa6a11667529 Mon Sep 17 00:00:00 2001 From: Kevin Daudt Date: Mon, 29 Aug 2016 21:28:45 +0000 Subject: markdown: move to community --- community/markdown/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 community/markdown/APKBUILD (limited to 'community/markdown') diff --git a/community/markdown/APKBUILD b/community/markdown/APKBUILD new file mode 100644 index 0000000000..21bf53cfc1 --- /dev/null +++ b/community/markdown/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: z3bra +# Maintainer: Kevin Daudt +pkgname=markdown +_pkgreal=Markdown +pkgver=1.0.1 +pkgrel=0 +pkgdesc="Text-to-HTML conversion tool for web writers" +url="http://daringfireball.net/projects/markdown/" +arch="noarch" +license="custom:BSD" +depends="perl" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://daringfireball.net/projects/downloads/Markdown_1.0.1.zip" + +_builddir=$srcdir/${_pkgreal}_${pkgver} + +build() { + cd "$_builddir" + pod2man "Markdown.pl" > "$_builddir/$pkgname.1" +} + +package() { + cd "$_builddir" + install -Dm755 "Markdown.pl" "${pkgdir}/usr/bin/${pkgname}" + install -Dm644 "License.text" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 "$pkgname.1" "$pkgdir/usr/share/man/man1/$pkgname.1" +} + +md5sums="f17b3c2b2830c6fd2fe0098226e59a2f Markdown_1.0.1.zip" +sha256sums="6520e9b6a58c5555e381b6223d66feddee67f675ed312ec19e9cee1b92bc0137 Markdown_1.0.1.zip" +sha512sums="962df356e641326fbf29cdedc36dafb5f04683f0b3f5eb1efb8e15994e1e000b5a6882c84f09db4a6f8f948811ebbe76759e27871c644e690884db31705eab1f Markdown_1.0.1.zip" -- cgit v1.2.3