summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d4afe5b3919de493010fb611709f73854305b7b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pkgname=difftance-bin
pkgver=0.3.1
pkgrel=1
pkgdesc="A diff tool to show edit distance"
arch=('x86_64')
url="https://github.com/fabon-f/difftance"
license=('MIT')
conflicts=('difftance-git')
source=("difftance::https://github.com/fabon-f/difftance/releases/download/v${pkgver}/difftance-linux-x86_64" "https://github.com/fabon-f/difftance/releases/download/v${pkgver}/LICENSE")
md5sums=('1528467d5b8598390f3a39e3694bf948' '334fc80d9b7396dc25a560729528c05c')

package() {
  chmod +x "${srcdir}/difftance"
  install -Dm755 "${srcdir}/difftance" "${pkgdir}/usr/bin/difftance"
  install -Dm755 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}