summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 45d087ffa880fef4d5af3f2ee937fe501a1375a1 (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
# Maintainer <shlomochoina@gmail.com>

pkgname=pantheon-dock-git
pkgver=r1973.013d051
pkgrel=1
pkgdesc='The Pantheon Dock'
arch=('i686' 'x86_64')
url='https://github.com/elementary/dock'
license=('GPL3')
depends=('libgee' 'bamf' 'python')
makedepends=('git' 'gnome-common' 'meson' 'vala' 'gnome-menus' 'libdbusmenu-gtk3')
conflicts=('plank' 'pantheon-dock')
provides=('plank' 'pantheon-dock')
source=(pantheon-dock::git+$url)
sha256sums=('SKIP')

pkgver() {
  cd pantheon-dock

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

build() {
  arch-meson pantheon-dock build -Dapport=false -Denable-dbusmenu=yes -Denable-barriers=yes
  ninja -C build
}
package() {
  DESTDIR="${pkgdir}" ninja -C build install
}

# vim: ts=2 sw=2 et: