summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 259bcb6322eab8c6e7c33518bf66f8412fd60477 (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
# Maintainer: Joseph Hendrix <joeylhendrix@gmail.com>
pkgname='rsls-git'
pkgver=1.0.1
pkgrel=2
pkgdesc="ls with icons, written in Rust"
arch=("x86_64")
url="https://github.com/joeleehen/rsls"
license=('unknown')
depends=(gcc-libs glibc ttf-nerd-fonts-symbols)
makedepends=(git cargo)
source=('rsls::git+https://github.com/joeleehen/rsls.git#branch=master')
sha256sums=('SKIP')

build() {
    cd "rsls"
    cargo b --release
    # make
}

package() {
    echo "$srcdir"
    cd "$srcdir/rsls/target/release"
    install -Dm755 rsls "$pkgdir/usr/bin/rsls"
}