summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian2020-05-20 15:10:04 -0400
committerj.r2020-05-22 22:52:46 +0200
commitdfa9cb3aa1aa8096eae569889de312fd62f2e6ad (patch)
tree96c50024792f0abe78d7d6c2fc3d161b5a33e5cc
parent918531dc80074bcfc180373956e3246020e51b41 (diff)
downloadaur-dfa9cb3aa1aa8096eae569889de312fd62f2e6ad.tar.gz
add onedrive as dependency and use make install
-rw-r--r--PKGBUILD7
1 files changed, 3 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e0e4b1b3ca6..714cbc23679 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgdesc="OneDrive system tray program"
arch=('i686' 'x86_64')
url="https://github.com/DanielBorgesOliveira/onedrive_tray"
license=('unknown')
-depends=('qt5-base')
+depends=('qt5-base' 'onedrive-abraunegg')
makedepends=('git') # 'bzr', 'git', 'mercurial' or 'subversion'
provides=("onedrive_tray=$pkgver")
conflicts=("onedrive_tray")
@@ -29,7 +29,6 @@ build() {
}
package() {
- cd "$_pkgname"
- mkdir -p "$pkgdir/usr/local/bin/"
- cp build/systray "$pkgdir/usr/local/bin/onedrive_tray"
+ cd "$_pkgname/build"
+ make INSTALL_ROOT="${pkgdir}" install
}