Skip to content

Commit

Permalink
Add AUR PKGBUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
liberodark committed Jan 2, 2018
1 parent c47019e commit 6592cfc
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
27 changes: 27 additions & 0 deletions aur/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Maintainer: liberodark

pkgname=odrive-bin
pkgver=0.1.1
pkgrel=1
pkgdesc="Google Drive GUI"
arch=('x86_64')
url="https://github.com/liberodark/ODrive"
license=('GPL')
depends=('xdg-utils')
source_x86_64=("https://github.com/liberodark/ODrive/releases/download/${pkgver}/odrive-linux-x64.tar.gz")
source=($pkgname.desktop
$pkgname.png)
sha512sums=('21f1af6ea861679b8338daad978ace9f66e2177d1897643f87aacd291ca5a35ddab50efee3dfcdbd4fbb015bdaf8f0589ef90fbec7c8e0ad3a71cfa32e7ea18b'
'e852e6ee2714900b2b484dbe3f9bb69e72895391fed5e6776142c48daaf7e75a8a12908812894e5695277447bd2704cad93cd4f2ed0940ef45008e93b8823dd1')
sha512sums_x86_64=('5cae7c97447e4251ec2df4d75dba088f4082fafdf3217c562cd795ffe2bf1d40bbd8599f855d2a11bb63f449c4308916f59dab373f5906d1d1bd170e91e71f45')

package() {
cd $srcdir
tar xvf odrive-linux-x64.tar.gz
mkdir -p "$pkgdir/usr/share/odrive"
cp -r "odrive-linux-x64/." "$pkgdir/usr/share/odrive"
chmod 755 -R "$pkgdir/usr/share/odrive/resources/app"
install -vDm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
install -vDm644 $srcdir/$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
}

13 changes: 13 additions & 0 deletions aur/odrive-bin.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[Desktop Entry]
Name=ODrive
GenericName=Google Drive
Comment=Google Drive GUI
Exec=/usr/share/odrive/odrive
Path=/usr/share/odrive/
Icon=odrive-bin
Terminal=false
Type=Application
Keywords=odrive;google;drive;
Type=Application
Categories=Network;FileTransfer;
Version=1.0
Binary file added aur/odrive-bin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6592cfc

Please sign in to comment.