summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Lewis2017-09-11 21:18:59 -0400
committerKevin Lewis2017-09-11 21:18:59 -0400
commit46a225dd30014a2a9e423cea432cd22587a2e909 (patch)
treef57eee593ae936c3c25e27204be989d412af96ce
parent3858ecae4c0460d5e322bed35462b70c2b2d05c2 (diff)
downloadaur-46a225dd30014a2a9e423cea432cd22587a2e909.tar.gz
add icon and desktop file
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD16
-rw-r--r--sleepyhead.desktop10
3 files changed, 22 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a7350ca1068..94692936341 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = sleepyhead-git
pkgdesc = Open-source, cross platform, sleep tracking software with a focus on monitoring CPAP treatment.
pkgver = 1.0.0.2.g0e04bd99
- pkgrel = 2
+ pkgrel = 3
url = http://sleepyhead.jedimark.net
arch = i686
arch = x86_64
@@ -10,15 +10,16 @@ pkgbase = sleepyhead-git
depends = qt5-base
depends = qt5-serialport
depends = qt5-webkit
- depends = glu
provides = sleepyhead
conflicts = sleepyhead
source = git+https://gitlab.com/sleepyhead/sleepyhead-code.git
source = moduleupdates.patch
source = Qt-5.8.patch
+ source = sleepyhead.desktop
sha256sums = SKIP
sha256sums = af1390195fc4a5f2aa0cced24b1ce1a629dbd608a40d10dc319cfcbd959bec02
sha256sums = b2783268ae56ad7698ce78c4e72b58557da36d2cf24cf7a680e19ef200d2f350
+ sha256sums = a15100d6bf1e1136d41a36f59613cd20776f0709c74c2e2d1b46f03271e08c3c
pkgname = sleepyhead-git
diff --git a/PKGBUILD b/PKGBUILD
index dcec535e8a2..8bc21a44ab9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_pkgname=sleepyhead
pkgname=$_pkgname-git
pkgver=1.0.0.2.g0e04bd99
-pkgrel=2
+pkgrel=3
pkgdesc="Open-source, cross platform, sleep tracking software with a focus on monitoring CPAP treatment."
arch=('i686' 'x86_64')
url="http://sleepyhead.jedimark.net"
@@ -20,12 +20,12 @@ source=(
"git+https://gitlab.com/sleepyhead/sleepyhead-code.git"
'moduleupdates.patch'
'Qt-5.8.patch'
+ 'sleepyhead.desktop'
)
-sha256sums=(
- 'SKIP'
- af1390195fc4a5f2aa0cced24b1ce1a629dbd608a40d10dc319cfcbd959bec02 #moduleupdates.patch
- b2783268ae56ad7698ce78c4e72b58557da36d2cf24cf7a680e19ef200d2f350 #Qt-5.8.patch
-)
+sha256sums=('SKIP'
+ 'af1390195fc4a5f2aa0cced24b1ce1a629dbd608a40d10dc319cfcbd959bec02'
+ 'b2783268ae56ad7698ce78c4e72b58557da36d2cf24cf7a680e19ef200d2f350'
+ 'a15100d6bf1e1136d41a36f59613cd20776f0709c74c2e2d1b46f03271e08c3c')
prepare() {
cd sleepyhead-code
@@ -50,7 +50,9 @@ build() {
}
package() {
- install -D "$srcdir/sleepyhead-code/sleepyhead/SleepyHead" "$pkgdir/usr/bin/SleepyHead"
+ install -D $srcdir/sleepyhead-code/sleepyhead/SleepyHead $pkgdir/usr/bin/sleepyhead
+ install -Dm644 $srcdir/sleepyhead-code/sleepyhead/icons/bob-v3.0.png $pkgdir/usr/share/sleepyhead/icon.png
+ install -Dm644 $srcdir/sleepyhead.desktop $pkgdir/usr/share/applications/sleepyhead.desktop
}
# vim:set ts=2 sw=2 et:
diff --git a/sleepyhead.desktop b/sleepyhead.desktop
new file mode 100644
index 00000000000..bc0f75b5ccd
--- /dev/null
+++ b/sleepyhead.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=SleepyHead
+Comment=Open-source, cross platform, sleep tracking software with a focus on monitoring CPAP treatment.
+Exec=/usr/bin/sleepyhead
+Icon=/usr/share/sleepyhead/icon.png
+Terminal=false
+Type=Application
+Categories=Utility; \ No newline at end of file