summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f621cc1758f521b39c2f01eab6cda84280c7b4a7 (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: Maxime Gauduin <alucryd@archlinux.org>

pkgname=pantheon-terminal-git
pkgver=5.5.2.r99.gba140c36
pkgrel=1
pkgdesc='The Pantheon Terminal Emulator'
arch=('x86_64')
url='https://github.com/elementary/terminal'
license=('GPL3')
groups=('pantheon-unstable')
depends=('glib2' 'gtk3' 'libnotify' 'pango' 'vte3'
         'libgranite.so' 'libhandy')
makedepends=('appstream' 'git' 'granite' 'intltool' 'meson' 'vala' 'libhandy')
provides=('pantheon-terminal')
conflicts=('pantheon-terminal')
source=('pantheon-terminal::git+https://github.com/elementary/terminal.git'
        )
sha256sums=('SKIP')

pkgver() {
  cd pantheon-terminal

  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  arch-meson pantheon-terminal build \
    -Dubuntu-bionic-patched-vte='false'
  ninja -C build
}

package() {
  DESTDIR="${pkgdir}" ninja -C build install
}

# vim: ts=2 sw=2 et: