diff options
author | John ShaggyTwoDope Jenkins | 2015-10-22 21:08:50 -0700 |
---|---|---|
committer | John ShaggyTwoDope Jenkins | 2015-10-22 21:08:50 -0700 |
commit | 73863054f8dfeb64a36e3deccee5893beba7fe6d (patch) | |
tree | 58d1512f41a113fc3e3650545e9553c72fee5440 | |
parent | d19920a0f12deca20cf7d5960532ee64ca02ad78 (diff) | |
download | aur-73863054f8dfeb64a36e3deccee5893beba7fe6d.tar.gz |
add drive-server
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 9 insertions, 2 deletions
@@ -1,6 +1,8 @@ +# Generated by mksrcinfo v8 +# Fri Oct 23 04:08:38 UTC 2015 pkgbase = drive-git pkgdesc = Drive is a tiny program to pull or push Google Drive files. You need go1.2 installed in order to build the program. - pkgver = r369.a4cfe9a + pkgver = r587.6cb2970 pkgrel = 1 url = https://github.com/odeke-em/drive install = drive-git.install @@ -2,7 +2,7 @@ # Contributor: Timofey Titovets <nefelim4ag@gmail.com> pkgname=drive-git -pkgver=r369.a4cfe9a +pkgver=r587.6cb2970 pkgrel=1 pkgdesc="Drive is a tiny program to pull or push Google Drive files. You need go1.2 installed in order to build the program." arch=('any') @@ -26,11 +26,16 @@ build() { go get $_gourl cd $srcdir/bin/ ./drive-gen + go get github.com/odeke-em/rsc/qr + go get github.com/martini-contrib/binding + cd $srcdir/$pkgname/drive-server + go build -o drive-server } package() { mkdir -p "$pkgdir/usr/bin" install -p -m755 $srcdir/bin/drive "$pkgdir/usr/bin" + install -p -m755 $srcdir/$pkgname/drive-server/drive-server "$pkgdir/usr/bin" cd "$srcdir/$pkgname" mkdir -p $pkgdir/usr/share/licenses/$pkgname |