aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/markdown/APKBUILD18
1 files changed, 7 insertions, 11 deletions
diff --git a/community/markdown/APKBUILD b/community/markdown/APKBUILD
index a40d3273a6..7ce3833cbb 100644
--- a/community/markdown/APKBUILD
+++ b/community/markdown/APKBUILD
@@ -3,30 +3,26 @@
pkgname=markdown
_pkgreal=Markdown
pkgver=1.0.1
-pkgrel=0
+pkgrel=1
pkgdesc="Text-to-HTML conversion tool for web writers"
url="https://daringfireball.net/projects/markdown/"
arch="noarch"
-license="custom:BSD"
+license="BSD-3-Clause"
depends="perl"
-depends_dev=""
makedepends="$depends_dev"
-install=""
subpackages="$pkgname-doc"
source="https://daringfireball.net/projects/downloads/Markdown_1.0.1.zip"
-_builddir=$srcdir/${_pkgreal}_${pkgver}
+builddir=$srcdir/${_pkgreal}_${pkgver}
build() {
- cd "$_builddir"
- pod2man "Markdown.pl" > "$_builddir/$pkgname.1"
+ 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"
+ 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"