blob: c1dbad46f60ebb26d9fc318cc061f3e3fafbb128 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Maintainer: Luca Weiss <luca (at) z3ntu (dot) xyz>
# Contributor: Fabio 'Lolix' Loli <lolix@disroot.org> -> https://github.com/FabioLolix
# Contributor: Antonio Rojas <arojas@archlinux.org>
pkgname=elisa-git
pkgver=20.08.1.r81.g5192facb
pkgrel=1
arch=(i686 x86_64)
pkgdesc="A simple music player for KDE aiming to provide a nice experience for its users"
url="https://community.kde.org/Elisa"
license=(LGPL3)
depends=(kirigami2 kdeclarative baloo)
makedepends=(git python extra-cmake-modules kdoctools)
provides=(elisa)
conflicts=(elisa)
source=("git+https://invent.kde.org/multimedia/elisa.git")
sha512sums=('SKIP')
pkgver() {
cd elisa
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../elisa \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF
make
}
package(){
cd build
make DESTDIR="$pkgdir" install
}
|