blob: 138df23fd3f3ebad35d77ece9dbbf4113b4c210e (
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
28
29
30
31
32
|
# Maintainer: Ariel AxionL <axionl@aosc.io>
pkgname=gcsf
pkgver=0.1.28
pkgrel=2
pkgdesc="a FUSE file system based on Google Drive (Written by Rust)"
arch=('x86_64')
depends=('fuse2' 'openssl')
makedepends=('git' 'rust')
optdepends=("ranger: A simple, vim-like file manager")
conflicts=("gcsf")
provides=("gcsf")
url="https://github.com/harababurel/gcsf"
license=('MIT')
install="gcsf.install"
source=("$pkgname-$pkgver.tar.gz::https://github.com/harababurel/gcsf/archive/$pkgver.tar.gz"
"gcsf.install")
sha256sums=('8bc7f94630eefda55ac8851a4071d7782385b711ea8f6313e2e64be05f686592'
'379c996c9cf50bfffdd381d1f9f99695b1af5bab17b0ccd14006999d6e0351c1')
build() {
cd $pkgname-$pkgver
cargo fmt --all -- --check
cargo build --release
}
package() {
cd $srcdir/$pkgname-$pkgver
# License
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
# Binaries
install -Dm755 target/release/gcsf $pkgdir/usr/bin/gcsf
}
# vim set: ts=4 sw=4 et
|