blob: ff2ad88fa100d98b25dd99726a1b863d4ed5da01 (
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.8.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")
sha512sums=('263511863e6c1d6b1c7827ae483628e2c2096c3da060c4f163899eb32cc7c550c3a1882f0ff5aab541b2cc9d3fb8f7bc8145638d2d7e66801b59b227b64a9586')
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"
}
|