summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 651fe6437b29abed1157c6d3404b98a4ed6ba1e5 (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: orhun <github.com/orhun>
pkgname=k3rmit-git
pkgdesc="A VTE-based terminal emulator that aims to be simple, fast and effective."
pkgver=1.8.r0.g8c4ed86
pkgrel=1
arch=('any')
url="https://github.com/orhun/k3rmit"
license=('GPL3')
depends=('gtk3>=3.18.9' 'vte3>=0.42.5')
makedepends=('cmake')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git://github.com/orhun/k3rmit.git')
sha256sums=('SKIP')

pkgver() {
  cd "$srcdir/${pkgname%-git}"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  mkdir -p "${pkgname%-git}/build"
  cd "${pkgname%-git}/build"
  cmake ../ -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd "${pkgname%-git}/build"
  make DESTDIR="$pkgdir" install
}