blob: 642648e9884a766204ecaf8f255474c4ecade4c4 (
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
|
#Maintainer: Rein Fernhout (LevitatingBusinessMan) <me@levitati.ng>
# Some asshole is using the reddit-fs pkgbase
pkgbase=redditfs
pkgname=reddit-fs
pkgver=r38.7f5b73b
arch=("x86_64")
pkgrel=1
pkgdesc="Reddit as a filesystem"
license=("MIT")
makedepends=("cargo")
url="https://github.com/LevitatingBusinessMan/$pkgname"
source=("git+https://github.com/LevitatingBusinessMan/$pkgname.git")
sha256sums=("SKIP")
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname}"
cargo build --release
}
package() {
cd "${srcdir}/${pkgname}"
install -Dm755 target/release/reddit-fs $pkgdir/usr/bin/reddit-fs
}
|