blob: a5f91f57c1dc059e50952c25e79809278b8261a9 (
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
|
# Maintainer: Fabio Loli <loli_fabio@protonmail.com>
# Contributor: Antonio Rojas <arojas@archlinux.org>
pkgname=elisa-git
pkgver=0.0.81.r23.gc827e08
pkgrel=1
arch=(i686 x86_64)
pkgdesc="Elisa Music Player"
url="https://cgit.kde.org/elisa.git/"
license=(GPL)
depends=(baloo qt5-quickcontrols qt5-quickcontrols2 kcmutils)
makedepends=(extra-cmake-modules git python kdoctools qt5-websockets)
source=("${pkgname}::git://anongit.kde.org/elisa.git")
md5sums=('SKIP')
pkgver() {
cd ${pkgname}
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../${pkgname} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package(){
cd build
make DESTDIR="$pkgdir" install
}
|