archrelease: copy trunk to community-any
[ArchLinux/community.git] / kodi-addon-screensaver-matrixtrails / repos / community-x86_64 / PKGBUILD
blob380d36654e461329cc3bf31372c428299de2798a
1 # Maintainer: BlackEagle <ike.devolder@gmail.com>>
3 pkgname=kodi-addon-screensaver-matrixtrails
4 epoch=1
5 pkgver=20.1.0
6 _codename=Nexus
7 pkgrel=5
8 pkgdesc="Matrix trails screensaver for Kodi"
9 arch=('x86_64')
10 url='https://github.com/xbmc/screensaver.matrixtrails'
11 license=('GPL')
12 groups=('kodi-addons' 'kodi-addons-screensaver')
13 makedepends=('cmake' 'kodi-dev')
14 options=(!lto)
15 source=("$pkgname-$pkgver.tar.gz::https://github.com/xbmc/screensaver.matrixtrails/archive/$pkgver-$_codename.tar.gz")
16 sha512sums=('9f209a7fa1c38f118deb051ccc8f2a783d0fedf4cfd23861e2f03a05f1da8db8ce2d01e5f6c181c31058af1738cd8cbc95190f8c878347dd0510c81ba94550e4')
18 build() {
19     cd "screensaver.matrixtrails-$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')
31     cd "screensaver.matrixtrails-$pkgver-$_codename"
32     make DESTDIR="$pkgdir/" install