blob: bc9e7eb8b19f378ebb65616fd3cf223db793a367 (
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
27
|
# Maintainer: asm0dey <pavel.finkelshtein@gmail.com>
pkgname=fselect
pkgver=0.7.5
pkgrel=1
arch=('i686' 'x86_64')
url="https://github.com/jhspetersson/fselect"
license=("MIT")
pkgdesc='Find files with SQL-like queries'
source=("$pkgver.tar.gz::https://github.com/jhspetersson/$pkgname/archive/$pkgver.tar.gz")
md5sums=('25953749dbf232f58bb159bede5d3ad5')
makedepends=('rust')
depends=('gcc-libs')
conflicts=('fselect-git')
provides=('fselect')
build() {
cd "$pkgname-$pkgver"
cargo build --release
}
package() {
install -Dm755 "$pkgname-$pkgver/target/release/fselect" "$pkgdir/usr/bin/fselect"
install -Dm644 "$pkgname-$pkgver/LICENSE-MIT" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|