summaryrefslogtreecommitdiffstats
path: root/mandown-md-viewer/PKGBUILD
diff options
context:
space:
mode:
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}