archrelease: copy trunk to community-any
[ArchLinux/community.git] / kodi-addon-screensaver-asteroids / repos / community-x86_64 / PKGBUILD
blobf9f367f893e82677d8396aa71fce4a9e2cc7b185
1 # Maintainer: BlackEagle <ike.devolder@gmail.com>>
3 pkgname=kodi-addon-screensaver-asteroids
4 epoch=1
5 pkgver=20.2.0
6 _codename=Nexus
7 pkgrel=4
8 pkgdesc="Asteroids screensaver for Kodi"
9 arch=('x86_64')
10 url='https://github.com/xbmc/screensaver.asteroids'
11 license=('GPL')
12 groups=('kodi-addons' 'kodi-addons-screensaver')
13 makedepends=('cmake' 'glm' 'kodi-dev')
14 options=(!lto)
15 source=("$pkgname-$pkgver.tar.gz::https://github.com/xbmc/screensaver.asteroids/archive/$pkgver-$_codename.tar.gz")
16 sha512sums=('86107fa67b9c5f14b0e50f54b5db1a834af1137d253949abaf6d1a0a890fc0b75e6e99ed3b67f0672dd2f21a9190734e53fc8c4071baffd8b376713249999bbb')
18 build() {
19     cd "screensaver.asteroids-$pkgver-$_codename"
20     cmake \
21         -DCMAKE_INSTALL_PREFIX=/usr \
22         -DCMAKE_BUILD_TYPE=Release \
23         -DBUILD_SHARED_LIBS=1 \
24         -DUSE_LTO=1 \
25         .
26     make
29 package() {
30     depends=('kodi' 'glm')
31     cd "screensaver.asteroids-$pkgver-$_codename"
32     make DESTDIR="$pkgdir/" install