blob: cb1e5226237b9be575c8d3d4d6e26a03ebc833e3 (
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
|
# Maintainer: Jan Neumann <neum dot ja at gmail dot com>
# Contributor: Michael Straube <straubem@gmx.de>
pkgname=latte-dock-git
pkgver=0.6.0.r161.g0404b25
pkgrel=1
pkgdesc='A dock based on plasma frameworks - git version'
arch=('i686' 'x86_64')
url='https://github.com/psifidotos/Latte-Dock'
license=('GPL')
depends=('plasma-framework' 'plasma-desktop')
makedepends=('git' 'cmake' 'extra-cmake-modules' 'python')
conflicts=('latte-dock')
source=("git+https://github.com/psifidotos/Latte-Dock.git")
sha256sums=('SKIP')
pkgver() {
cd Latte-Dock
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd Latte-Dock
mkdir build && cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd Latte-Dock/build
make DESTDIR="$pkgdir" install
}
|