diff options
author | harre | 2020-01-28 22:16:08 +0100 |
---|---|---|
committer | harre | 2020-01-28 22:16:08 +0100 |
commit | b7a025a3e213505df7ac35e67ad7f2f5e777c436 (patch) | |
tree | b1f8af6a715fa4f9842eafd4358b97621b5561f5 /PKGBUILD | |
parent | 72fa91812136efc1195b942e4b2427127074109b (diff) | |
download | aur-b7a025a3e213505df7ac35e67ad7f2f5e777c436.tar.gz |
Fix compile and add translation and help files, it still doesn't load language still though :(
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -3,13 +3,14 @@ # Contributor: Jason Lenz <Jason@Lenzplace.org> _pkgname=oscar pkgname=oscar-git -pkgver=1.1.r3041.3be691f2 +pkgver=..r3113.94e39c27 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') url="https://gitlab.com/pholy/OSCAR-code" license=('GPL') depends=( + 'qt5-tools' 'qt5-serialport' ) makedepends=( @@ -43,8 +44,18 @@ package() { install -D $srcdir/OSCAR-code/oscar/OSCAR $pkgdir/usr/bin/oscar 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 -# Where to put translations? -# install -dDm644 $srcdir/OSCAR-code/Translations $pkgdir/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 + +# 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/}{} \; } # vim:set ts=2 sw=2 et: |