blob: f39b0d41b92607cd98038b6aaad8ab835a22fac4 (
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
|
# Maintainer: Mateen Ulhaq <mulhaq2005+aur at gmail dot com>
pkgname=frece
pkgver=1.0.6
pkgrel=1
pkgdesc="Frecency sorted database"
arch=("x86_64")
url="https://github.com/YodaEmbedding/frece"
license=("MIT")
depends=("gcc-libs")
makedepends=("cargo")
source=("$pkgname-$pkgver.tar.gz::https://github.com/YodaEmbedding/frece/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=("d284a5d3d16047a8772b1f1523f8b8dde53e3c2f8a82760a89abbc3c492d8168")
build() {
cd "$pkgname-$pkgver"
cargo build --release
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 "target/release/frece" "$pkgdir/usr/bin/frece"
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/frece/LICENSE"
install -Dm644 "README.md" "$pkgdir/usr/share/doc/frece/README.md"
}
|