summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2c0d194e4390b778a19b69ec986ab8a8636a3a19 (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: Luke Kuza <luke.kuza@gmail.com>

pkgname=('goofys')
pkgver=0.0.5.15.gbf6e5f8
pkgrel=1
pkgdesc="Goofys is a high performance Amazon S3 backend filey-system 
interface"
arch=('i686' 'x86_64' 'armv7h' 'armv6h')
url="https://github.com/kahing/goofys/"
license=('Apache')
makedepends=("git" "go" "fuse")

prepare () {
	GOPATH="$srcdir" go get github.com/kahing/goofys
}

pkgver () {
	cd $srcdir/src/github.com/kahing/goofys
	pkgv1="$(echo "$(git describe --tags)" | sed -e 's/\-/./g')"
	echo "$(echo $pkgv1 | cut -c 2-)"
}

build() {
	GOPATH="$srcdir" go install github.com/kahing/goofys
}

package() {
	mkdir -p $pkgdir/usr/bin/
	cp $srcdir/bin/goofys $pkgdir/usr/bin
}