blob: 694e313fcdb0a7d125d49c6671a272f0630d3b30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
pkgname=cpdiff
pkgver=2.0.14
pkgrel=1
pkgdesc="File difference tool for competitive programming"
arch=('x86_64')
license=('MIT')
depends=('go')
url="https://github.com/ChrisVilches/cpdiff"
source=("https://github.com/ChrisVilches/cpdiff/archive/refs/tags/v2.0.14.tar.gz")
sha256sums=('SKIP') # Replace with actual checksum if desired
build() {
cd "$srcdir/$pkgname-$pkgver"
go build -o "$pkgname"
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
}
|