summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 672d27794aa2acd4d9965d54dda0e94a92526699 (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.13
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.13.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"
}