diff options
Diffstat (limited to 'mandown-md-viewer/PKGBUILD')
-rw-r--r-- | mandown-md-viewer/PKGBUILD | 24 |
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> | ||
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 | } | ||