summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorharre2021-05-12 18:43:08 +0200
committerharre2021-05-12 18:43:08 +0200
commit78c7a5d16e02265dba12e9286b1b27990b86f729 (patch)
treee28df3878873e67b0086b3f2c7037f85db5d4528 /PKGBUILD
parent2ee2ae608a97b4ea05bd06d3582b4556741ae44f (diff)
downloadaur-78c7a5d16e02265dba12e9286b1b27990b86f729.tar.gz
Added qt5-wayland as optional dependancy
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 6 insertions, 12 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5094df49756..aa1023fc33a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Jason Lenz <Jason@Lenzplace.org>
_pkgname=oscar
pkgname=oscar-git
-pkgver=..r3245.aaaaef0d
+pkgver=..r3761.aec02b14
pkgrel=1
pkgdesc="Open-source, cross platform, sleep tracking software with a focus on monitoring CPAP treatment. Fork of the sleepyhead project."
arch=('i686' 'x86_64')
@@ -13,6 +13,9 @@ depends=(
'qt5-tools'
'qt5-serialport'
)
+optdepends=(
+ 'qt5-wayland'
+)
makedepends=(
'git'
'glu'
@@ -44,17 +47,8 @@ package() {
install -Dm644 $srcdir/OSCAR-code/oscar/icons/logo-lg.png $pkgdir/usr/share/oscar/icon.png
install -Dm644 $srcdir/oscar.desktop $pkgdir/usr/share/applications/oscar.desktop
-cp -dpr --no-preserve=ownership $srcdir/OSCAR-code/oscar/Html $pkgdir/usr/share/oscar
-cp -dpr --no-preserve=ownership $srcdir/OSCAR-code/oscar/Translations $pkgdir/usr/share/oscar
-
-# find $srcdir/OSCAR-code/oscar/Html -type d -exec install -d {,$pkgdir/usr/share/oscar/Html/}{} \;
-# find $srcdir/OSCAR-code/oscar/Html -type f -exec install -D -m 644 {,$pkgdir/usr/share/oscar/Html/}{} \;
-
-# find $srcdir/OSCAR-code/oscar/Help -type d -exec install -d {,$pkgdir/usr/share/oscar/Help/}{} \;
-# find $srcdir/OSCAR-code/oscar/Help -type f -exec install -D -m 644 {,$pkgdir/usr/share/oscar/Help/}{} \;
-#
-# find $srcdir/OSCAR-code/oscar/Translations -type d -exec install -d {,$pkgdir/usr/share/oscar/Translations/}{} \;
-# find $srcdir/OSCAR-code/oscar/Translations -type f -exec install -D -m 644 {,$pkgdir/usr/share/oscar/Translations/}{} \;
+ cp -dpr --no-preserve=ownership $srcdir/OSCAR-code/oscar/Html $pkgdir/usr/share/oscar
+ cp -dpr --no-preserve=ownership $srcdir/OSCAR-code/oscar/Translations $pkgdir/usr/share/oscar
}
# vim:set ts=2 sw=2 et: