diff options
author | Luke Kuza | 2016-05-15 15:53:51 -0400 |
---|---|---|
committer | Luke Kuza | 2016-05-15 15:53:51 -0400 |
commit | 5ab63a97c223fe87303b2040bf857e43cb324e9b (patch) | |
tree | 827e0813f6bcd6078931967bfc7e708f7b7b5fc7 /PKGBUILD | |
download | aur-goofys.tar.gz |
Initial PKGBUILD commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2c0d194e4390 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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 +} |