aboutsummaryrefslogtreecommitdiffstats
path: root/testing/markdown
diff options
context:
space:
mode:
authorz3bra <willy@mailoo.org>2014-10-22 17:35:04 +0200
committerz3bra <willy@mailoo.org>2014-10-22 17:35:04 +0200
commit9893e419328455a048a6d498c93adbdfac098f36 (patch)
tree12112654cfb42730c9d5296526303db6b2a2053b /testing/markdown
parent85341eeec8c297a85a30024f88bab45e910cbe62 (diff)
downloadaports-9893e419328455a048a6d498c93adbdfac098f36.tar.bz2
aports-9893e419328455a048a6d498c93adbdfac098f36.tar.xz
testing/markdown: new aport
Diffstat (limited to 'testing/markdown')
-rw-r--r--testing/markdown/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/markdown/APKBUILD b/testing/markdown/APKBUILD
new file mode 100644
index 0000000000..7140e07486
--- /dev/null
+++ b/testing/markdown/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: z3bra <willy at mailoo dot org>
+# Maintainer:
+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=
+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"