diff options
Diffstat (limited to 'mandown-md-viewer/PKGBUILD')
-rw-r--r-- | mandown-md-viewer/PKGBUILD | 25 |
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> | ||
2 | pkgname=mandown-md-viewer | ||
3 | _pkgname=mandown | ||
4 | pkgver=1.0.4 | ||
5 | pkgrel=2 | ||
6 | pkgdesc="man-page inspired Markdown viewer" | ||
7 | arch=('x86_64') | ||
8 | url="https://github.com/Titor8115/mandown" | ||
9 | license=('MIT') | ||
10 | depends=('libxml2' 'libconfig') | ||
11 | makedepends=('ncurses') | ||
12 | install="${pkgname}.install" | ||
13 | source=("$_pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v${pkgver}.tar.gz") | ||
14 | sha256sums=('dc719e6a28a4585fe89458eb8c810140ed5175512b089b4815b3dda6a954ce3e') | ||
15 | |||
16 | build() { | ||
17 | cd "$_pkgname-$pkgver" | ||
18 | PREFIX="/usr" make | ||
19 | } | ||
20 | |||
21 | package() { | ||
22 | cd "$_pkgname-$pkgver" | ||
23 | PREFIX="$pkgdir/usr" make install | ||
24 | install -Dm644 "$srcdir/$_pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" | ||
25 | } | ||