summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4210306f020d1827b208f0d9268d0b18c564e96f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
pkgname="ata"
pkgver=2.0.1
pkgrel=1
pkgdesc="Ask the Terminal Anything"
arch=('x86_64')
url="https://github.com/rikhuijzer/ata"
makedepends=('git' 'cargo')
source=(
    "git+https://github.com/rikhuijzer/ata.git#tag=v$pkgver"
)
md5sums=('SKIP')
conflicts=(
    ata-bin
    ata-git
)

build() {
    cd $srcdir/ata
    cargo build --release
}

package() {
    install -D $srcdir/ata/target/release/ata $pkgdir/usr/bin/ata
}