summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJason Lenz2016-08-28 14:30:38 -0500
committerJason Lenz2016-08-28 14:30:38 -0500
commit82e5b21dd73a2d3b9e4a1fdbe56c70fbf838b5a2 (patch)
tree2a187a5ca07f3392a1eebeb8d900852ce4cf821f /PKGBUILD
parent687248a6c5fcab6e7e19e43ad1a237df101698cd (diff)
downloadaur-82e5b21dd73a2d3b9e4a1fdbe56c70fbf838b5a2.tar.gz
Updated to version 1.0.0-beta-2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 15 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d5db9f9dc50..76c77dedf40 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,39 +1,46 @@
# Maintainer: Jason Lenz <Jason@Lenzplace.org>
pkgname=sleepyhead
-pkgver=0.9.8
+pkgver=1.0.0
+subver="beta-2"
pkgrel=1
pkgdesc="Open-source, cross platform, sleep tracking software with a focus on monitoring CPAP treatment."
arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/sleepyhead"
+url="http://sleepyhead.jedimark.net"
license=('GPL')
depends=(
'qt5-base'
'qt5-serialport'
'qt5-webkit'
+ 'glu'
)
makedepends=('git')
provides=("$pkgname")
conflicts=('sleepyhead-git')
source=(
- "git://git.code.sf.net/p/sleepyhead/code#tag=0.9.8-0"
+ "${pkgname}-${pkgver}-${subver}.tar.bz2::https://gitlab.com/sleepyhead/sleepyhead-code/repository/archive.tar.bz2?ref=${pkgver}-${subver}"
'moduleupdates.patch'
)
sha256sums=(
- 'SKIP'
- af1390195fc4a5f2aa0cced24b1ce1a629dbd608a40d10dc319cfcbd959bec02
+ db6152a47df69c5cf85a75171d64c2208a953d838ea5c974c2399e8d7cc94353 #sleepyhead-code-1.0.0-beta-2.tar.bz2
+ af1390195fc4a5f2aa0cced24b1ce1a629dbd608a40d10dc319cfcbd959bec02 #moduleupdates.patch
)
-build() {
- cd code
+prepare() {
+ mv sleepyhead-code* sleepyhead-code
+ cd sleepyhead-code
patch -Np1 -i "$srcdir/moduleupdates.patch"
+}
+
+build() {
+ cd sleepyhead-code
./configure
make
}
package() {
- install -D "$srcdir/code/sleepyhead/SleepyHead" "$pkgdir/usr/bin/SleepyHead"
+ install -D "$srcdir/sleepyhead-code/sleepyhead/SleepyHead" "$pkgdir/usr/bin/SleepyHead"
}
# vim:set ts=2 sw=2 et: