summaryrefslogtreecommitdiffstats
path: root/mandown-md-viewer/PKGBUILD
diff options
context:
space:
mode:
authorYigit Sever2021-10-29 01:30:24 +0300
committerYigit Sever2021-10-29 01:30:24 +0300
commit31d147b20c67d95a9e306d0749200bf964ac42af (patch)
treeb0fbe2bb5aa0fec9983746a91d188643ca93466d /mandown-md-viewer/PKGBUILD
parent4a31e5e0f3442a4a5ec9fba94f7bbc2c88312c69 (diff)
downloadpackages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.gz
packages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.bz2
packages-31d147b20c67d95a9e306d0749200bf964ac42af.zip
Use actual files instead of submodules
Diffstat (limited to 'mandown-md-viewer/PKGBUILD')
-rw-r--r--mandown-md-viewer/PKGBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/mandown-md-viewer/PKGBUILD b/mandown-md-viewer/PKGBUILD
new file mode 100644
index 0000000..bb47bbc
--- /dev/null
+++ b/mandown-md-viewer/PKGBUILD
@@ -0,0 +1,24 @@
1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2pkgname=mandown-md-viewer
3_pkgname=mandown
4pkgver=1.0.3
5pkgrel=1
6pkgdesc="man-page inspired Markdown viewer"
7arch=('x86_64')
8url="https://github.com/Titor8115/mandown"
9license=('MIT')
10makedepends=('ncurses' 'libxml2')
11install="${pkgname}.install"
12source=("$_pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v${pkgver}.tar.gz")
13sha256sums=('df92ca18315a7507ac93e2246d9ee2ad5363dcf4d266b57d5eb10b4123afa25c')
14
15build() {
16 cd "$_pkgname-$pkgver"
17 PREFIX="/usr" make
18}
19
20package() {
21 cd "$_pkgname-$pkgver"
22 PREFIX="$pkgdir/usr" make install
23 install -Dm644 "$srcdir/$_pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
24}