Skip to content

Commit 6592cfc

Browse files
committed
Add AUR PKGBUILD
1 parent c47019e commit 6592cfc

File tree

3 files changed

+40
-0
lines changed

3 files changed

+40
-0
lines changed

aur/PKGBUILD

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Maintainer: liberodark
2+
3+
pkgname=odrive-bin
4+
pkgver=0.1.1
5+
pkgrel=1
6+
pkgdesc="Google Drive GUI"
7+
arch=('x86_64')
8+
url="https://github.com/liberodark/ODrive"
9+
license=('GPL')
10+
depends=('xdg-utils')
11+
source_x86_64=("https://github.com/liberodark/ODrive/releases/download/${pkgver}/odrive-linux-x64.tar.gz")
12+
source=($pkgname.desktop
13+
$pkgname.png)
14+
sha512sums=('21f1af6ea861679b8338daad978ace9f66e2177d1897643f87aacd291ca5a35ddab50efee3dfcdbd4fbb015bdaf8f0589ef90fbec7c8e0ad3a71cfa32e7ea18b'
15+
'e852e6ee2714900b2b484dbe3f9bb69e72895391fed5e6776142c48daaf7e75a8a12908812894e5695277447bd2704cad93cd4f2ed0940ef45008e93b8823dd1')
16+
sha512sums_x86_64=('5cae7c97447e4251ec2df4d75dba088f4082fafdf3217c562cd795ffe2bf1d40bbd8599f855d2a11bb63f449c4308916f59dab373f5906d1d1bd170e91e71f45')
17+
18+
package() {
19+
cd $srcdir
20+
tar xvf odrive-linux-x64.tar.gz
21+
mkdir -p "$pkgdir/usr/share/odrive"
22+
cp -r "odrive-linux-x64/." "$pkgdir/usr/share/odrive"
23+
chmod 755 -R "$pkgdir/usr/share/odrive/resources/app"
24+
install -vDm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
25+
install -vDm644 $srcdir/$pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
26+
}
27+

aur/odrive-bin.desktop

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[Desktop Entry]
2+
Name=ODrive
3+
GenericName=Google Drive
4+
Comment=Google Drive GUI
5+
Exec=/usr/share/odrive/odrive
6+
Path=/usr/share/odrive/
7+
Icon=odrive-bin
8+
Terminal=false
9+
Type=Application
10+
Keywords=odrive;google;drive;
11+
Type=Application
12+
Categories=Network;FileTransfer;
13+
Version=1.0

aur/odrive-bin.png

36.2 KB
Loading

0 commit comments

Comments
 (0)