aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-06-07 14:28:43 -0300
committerKevin Daudt <kdaudt@alpinelinux.org>2019-06-07 17:49:31 +0000
commit36773b5d4f5a84960b478c53c72aeb4c145ee768 (patch)
treeb42aa43eb4f8b6473223997ab7e137db0c112ccb
parent1bd4c0e26c9899352b77c29ecbccfb7975d079df (diff)
downloadaports-36773b5d4f5a84960b478c53c72aeb4c145ee768.tar.gz
aports-36773b5d4f5a84960b478c53c72aeb4c145ee768.tar.bz2
aports-36773b5d4f5a84960b478c53c72aeb4c145ee768.tar.xz
community/markdown: fix license
Closes GH-8598
-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"