Bash · 743 bytes Raw Blame History
1 # Maintainer: mfw <espadonne@outlook.com>
2
3 pkgname=fit
4 pkgver=0.1.0
5 pkgrel=1
6 pkgdesc='Terminal-based merge conflict resolver with three-pane TUI interface'
7 arch=('x86_64')
8 url='https://github.com/FortranGoingOnForty/fit'
9 license=('MIT')
10 depends=('glibc')
11 makedepends=('gcc-fortran' 'make')
12 source=("git+https://github.com/FortranGoingOnForty/fit.git#tag=v$pkgver")
13 sha256sums=('SKIP')
14
15 build() {
16 cd fit
17 make release
18 }
19
20 check() {
21 cd fit
22 make test || true # Allow tests to fail gracefully if they require interactive input
23 }
24
25 package() {
26 cd fit
27
28 # Install main binary
29 install -Dm755 bin/fit "$pkgdir/usr/bin/fit"
30
31 # Install documentation
32 install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
33 }