summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8d2630e5711f9f2c66466554c4ddafc754dd274b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Attenuation <ouyangjun1999@gmail.com>
pkgname=ttv
pkgver=0.2.1
pkgrel=1
pkgdesc='A command line tool for splitting files into test, train, and validation sets. '
arch=('x86_64')
url='https://github.com/sd2k/ttv'
license=('CUSTOM')
makedepends=('rust')
depends=()
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('SKIP')

build() {
  cd "$pkgname-$pkgver"
  cargo build --release
}

package() {
  cd "$pkgname-$pkgver"
  install -Dm755 target/release/$pkgname "$pkgdir/usr/bin/$pkgname"
}