summaryrefslogtreecommitdiffstats
path: root/mandown-md-viewer
diff options
context:
space:
mode:
Diffstat (limited to 'mandown-md-viewer')
m---------mandown-md-viewer0
-rw-r--r--mandown-md-viewer/.SRCINFO14
-rw-r--r--mandown-md-viewer/PKGBUILD24
-rw-r--r--mandown-md-viewer/mandown-md-viewer.install7
4 files changed, 45 insertions, 0 deletions
diff --git a/mandown-md-viewer b/mandown-md-viewer
deleted file mode 160000
Subproject 019cdc99d854e9d55ec3c64244277c08cdb7c34
diff --git a/mandown-md-viewer/.SRCINFO b/mandown-md-viewer/.SRCINFO
new file mode 100644
index 0000000..9fd0eed
--- /dev/null
+++ b/mandown-md-viewer/.SRCINFO
@@ -0,0 +1,14 @@
1pkgbase = mandown-md-viewer
2 pkgdesc = man-page inspired Markdown viewer
3 pkgver = 1.0.3
4 pkgrel = 1
5 url = https://github.com/Titor8115/mandown
6 install = mandown-md-viewer.install
7 arch = x86_64
8 license = MIT
9 makedepends = ncurses
10 makedepends = libxml2
11 source = mandown-1.0.3.tar.gz::https://github.com/Titor8115/mandown/archive/refs/tags/v1.0.3.tar.gz
12 sha256sums = df92ca18315a7507ac93e2246d9ee2ad5363dcf4d266b57d5eb10b4123afa25c
13
14pkgname = mandown-md-viewer
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}
diff --git a/mandown-md-viewer/mandown-md-viewer.install b/mandown-md-viewer/mandown-md-viewer.install
new file mode 100644
index 0000000..919c6b3
--- /dev/null
+++ b/mandown-md-viewer/mandown-md-viewer.install
@@ -0,0 +1,7 @@
1post_install() {
2 cat << EOF
3
4 The name of the executable is 'mdn'
5
6EOF
7}