summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a0f5fff53e13d7a833082bd73b9ff9024f8f1a39 (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
25
26
pkgname="ata2"
pkgver=3.0.1
pkgrel=2
pkgdesc="Ask the Terminal Anything²"
arch=('x86_64')
url="https://github.com/ctrlcctrlv/ata2"
makedepends=('git' 'cargo')
source=(
    "git+https://github.com/ctrlcctrlv/ata2.git#tag=v$pkgver"
)
md5sums=('SKIP')
conflicts=(
    ata2-git
)
provides=(
    ata
)

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

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