From 31d147b20c67d95a9e306d0749200bf964ac42af Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 29 Oct 2021 01:30:24 +0300 Subject: Use actual files instead of submodules --- mandown-md-viewer | 1 - mandown-md-viewer/.SRCINFO | 14 ++++++++++++++ mandown-md-viewer/PKGBUILD | 24 ++++++++++++++++++++++++ mandown-md-viewer/mandown-md-viewer.install | 7 +++++++ 4 files changed, 45 insertions(+), 1 deletion(-) delete mode 160000 mandown-md-viewer create mode 100644 mandown-md-viewer/.SRCINFO create mode 100644 mandown-md-viewer/PKGBUILD create mode 100644 mandown-md-viewer/mandown-md-viewer.install (limited to 'mandown-md-viewer') diff --git a/mandown-md-viewer b/mandown-md-viewer deleted file mode 160000 index 019cdc9..0000000 --- a/mandown-md-viewer +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 019cdc99d854e9d55ec3c64244277c08cdb7c34b 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 @@ +pkgbase = mandown-md-viewer + pkgdesc = man-page inspired Markdown viewer + pkgver = 1.0.3 + pkgrel = 1 + url = https://github.com/Titor8115/mandown + install = mandown-md-viewer.install + arch = x86_64 + license = MIT + makedepends = ncurses + makedepends = libxml2 + source = mandown-1.0.3.tar.gz::https://github.com/Titor8115/mandown/archive/refs/tags/v1.0.3.tar.gz + sha256sums = df92ca18315a7507ac93e2246d9ee2ad5363dcf4d266b57d5eb10b4123afa25c + +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 @@ +# Maintainer: Yigit Sever +pkgname=mandown-md-viewer +_pkgname=mandown +pkgver=1.0.3 +pkgrel=1 +pkgdesc="man-page inspired Markdown viewer" +arch=('x86_64') +url="https://github.com/Titor8115/mandown" +license=('MIT') +makedepends=('ncurses' 'libxml2') +install="${pkgname}.install" +source=("$_pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v${pkgver}.tar.gz") +sha256sums=('df92ca18315a7507ac93e2246d9ee2ad5363dcf4d266b57d5eb10b4123afa25c') + +build() { + cd "$_pkgname-$pkgver" + PREFIX="/usr" make +} + +package() { + cd "$_pkgname-$pkgver" + PREFIX="$pkgdir/usr" make install + install -Dm644 "$srcdir/$_pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} 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 @@ +post_install() { + cat << EOF + + The name of the executable is 'mdn' + +EOF +} -- cgit v1.2.3-70-g09d2