summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 53130c0f2980e602d2e0f34feb4f608225e328d3 (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
41
42
43
# Maintainer: Jan Neumann <neum dot ja at gmail dot com>
# Contributor: Michael Straube <straubem@gmx.de>

pkgname=latte-dock-git
_gitname=latte-dock
pkgver=r3505.a69f3013
pkgrel=1
pkgdesc='Latte is a dock based on plasma frameworks that provides an elegant and intuitive experience for your tasks and plasmoids'
arch=('i686' 'x86_64')
url='https://cgit.kde.org/latte-dock.git/'
license=('GPL')
depends=('plasma-framework' 'plasma-desktop')
optdepends=('libunity: quicklists, counters, and progress bars for apps using libunity')
makedepends=('git' 'cmake' 'extra-cmake-modules' 'python' 'ruby' 'subversion')
conflicts=('latte-dock')
provides=('latte-dock')
source=("git://anongit.kde.org/latte-dock.git")
sha256sums=('SKIP')

pkgver() {
   cd ${_gitname}

   printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
   
}

build() {
   cd ${_gitname}

   mkdir build && cd build
   cmake -DCMAKE_INSTALL_PREFIX=/usr \
        -DKDE_L10N_BRANCH=trunk \
        -DKDE_L10N_AUTO_TRANSLATIONS=OFF \
        -DCMAKE_BUILD_TYPE=Release ..
#      make fetch-translations
  
}

package() {
  
   make -C ${_gitname}/build DESTDIR=${pkgdir} install

}