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/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/mandown-md-viewer/PKGBUILD b/mandown-md-viewer/PKGBUILD
new file mode 100644
index 0000000..53ccc3a
--- /dev/null
+++ b/mandown-md-viewer/PKGBUILD
@@ -0,0 +1,25 @@
1# Maintainer: Yigit Sever <yigit at yigitsever dot com>
2pkgname=mandown-md-viewer
3_pkgname=mandown
4pkgver=1.0.4
5pkgrel=2
6pkgdesc="man-page inspired Markdown viewer"
7arch=('x86_64')
8url="https://github.com/Titor8115/mandown"
9license=('MIT')
10depends=('libxml2' 'libconfig')
11makedepends=('ncurses')
12install="${pkgname}.install"
13source=("$_pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v${pkgver}.tar.gz")
14sha256sums=('dc719e6a28a4585fe89458eb8c810140ed5175512b089b4815b3dda6a954ce3e')
15
16build() {
17 cd "$_pkgname-$pkgver"
18 PREFIX="/usr" make
19}
20
21package() {
22 cd "$_pkgname-$pkgver"
23 PREFIX="$pkgdir/usr" make install
24 install -Dm644 "$srcdir/$_pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
25}