summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1d237cefa5a22b65dfd25c09fa70addffd53eacd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Ted Pinkerton <p_t@fastmail.net>
pkgname=markcat
pkgver=1.0.0
pkgrel=1
pkgdesc="A CLI tool to convert project directories to markdown format"
arch=('x86_64')
url="https://github.com/RunnersNum40/markcat"
license=('Unlicense')
depends=()
makedepends=('rust' 'cargo')
source=("$pkgname::git+https://github.com/RunnersNum40/markcat.git#branch=main")
sha256sums=('SKIP')
options=('!debug')

build() {
  cd "$srcdir/$pkgname" || exit
  cargo build --release --locked
}

package() {
  cd "$srcdir/$pkgname" || exit
  install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
}