summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4ad437d4ea9000a954258db594a6742a950627b4 (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: Solomon Choina <shlomochoina@gmail.com>

pkgname=pantheon-dock-git
pkgver=r560.a4f2137
pkgrel=1
epoch=1
pkgdesc='The Pantheon Dock'
arch=('i686' 'x86_64')
url='https://github.com/elementary/dock'
license=(GPL-3.0-or-later)
depends=(libgee libadwaita granite7 wayland gtk4)
makedepends=('git' 'gnome-common' 'meson' 'vala')
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=7 HEAD)"
}

build() {
  arch-meson pantheon-dock build
  ninja -C build
}
package() {
  DESTDIR="${pkgdir}" ninja -C build install
}

# vim: ts=2 sw=2 et: