aboutsummaryrefslogblamecommitdiffstats
path: root/testing/asteroid-timer/APKBUILD
blob: d0fddce61e0834980505c404225ed4ae6f14af3a (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                  
                    
        
                                                  

                                                  

                               

                          



                              
                           


                             



                                                                                                                                  




                                    
                                 


                                           


           
                                               

 

                                                                                                                                                                                                
                                                                                                                                                              
 
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=asteroid-timer
pkgver=0_git20210517
pkgrel=2
_commit="7a7e9475f7032dec63cea1bdb943828fadac363f"
pkgdesc="Default timer app for AsteroidOS"
url="https://github.com/AsteroidOS/asteroid-timer"
# armhf blocked by qml-asteroid
arch="all !armhf"
license="GPL-3.0-or-later"
depends="
	mapplauncherd
	nemo-qml-plugin-alarms
	"
makedepends="
	extra-cmake-modules
	qml-asteroid-dev
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	samurai
	"
source="https://github.com/AsteroidOS/asteroid-timer/archive/$_commit/asteroid-timer-$_commit.tar.gz
	$pkgname-new-ecm.patch::https://github.com/AsteroidOS/asteroid-timer/commit/2b5766e1d4d6603a0962eedf7f4d449deb14b070.patch
	"
options="!check" # No tests
builddir="$srcdir/$pkgname-$_commit"

build() {
	cmake -B build -G Ninja \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
ddc5610385f896b093bf8bde497890520c939418b022c5cd4cb1e5990fb3bb609c967ea842bc59b29f7d018fb9e2bc2e031406d2c73767bddc395bee87401df0  asteroid-timer-7a7e9475f7032dec63cea1bdb943828fadac363f.tar.gz
eedfcf62450daa37ae1060be4b16ead132d318979a321f0e08032817705dbc36b56b05faaf73b90ed5d878e235c9d26935e79dd972bb6de11c2657a8482519d6  asteroid-timer-new-ecm.patch
"