diff options
author | Yigit Sever | 2021-10-29 01:30:24 +0300 |
---|---|---|
committer | Yigit Sever | 2021-10-29 01:30:24 +0300 |
commit | 31d147b20c67d95a9e306d0749200bf964ac42af (patch) | |
tree | b0fbe2bb5aa0fec9983746a91d188643ca93466d /mandown-md-viewer | |
parent | 4a31e5e0f3442a4a5ec9fba94f7bbc2c88312c69 (diff) | |
download | packages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.gz packages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.bz2 packages-31d147b20c67d95a9e306d0749200bf964ac42af.zip |
Use actual files instead of submodules
Diffstat (limited to 'mandown-md-viewer')
m--------- | mandown-md-viewer | 0 | ||||
-rw-r--r-- | mandown-md-viewer/.SRCINFO | 14 | ||||
-rw-r--r-- | mandown-md-viewer/PKGBUILD | 24 | ||||
-rw-r--r-- | mandown-md-viewer/mandown-md-viewer.install | 7 |
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 @@ | |||
1 | pkgbase = 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 | |||
14 | pkgname = 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> | ||
2 | pkgname=mandown-md-viewer | ||
3 | _pkgname=mandown | ||
4 | pkgver=1.0.3 | ||
5 | pkgrel=1 | ||
6 | pkgdesc="man-page inspired Markdown viewer" | ||
7 | arch=('x86_64') | ||
8 | url="https://github.com/Titor8115/mandown" | ||
9 | license=('MIT') | ||
10 | makedepends=('ncurses' 'libxml2') | ||
11 | install="${pkgname}.install" | ||
12 | source=("$_pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v${pkgver}.tar.gz") | ||
13 | sha256sums=('df92ca18315a7507ac93e2246d9ee2ad5363dcf4d266b57d5eb10b4123afa25c') | ||
14 | |||
15 | build() { | ||
16 | cd "$_pkgname-$pkgver" | ||
17 | PREFIX="/usr" make | ||
18 | } | ||
19 | |||
20 | package() { | ||
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 @@ | |||
1 | post_install() { | ||
2 | cat << EOF | ||
3 | |||
4 | The name of the executable is 'mdn' | ||
5 | |||
6 | EOF | ||
7 | } | ||