summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2d9c4d4039780ffdafc84f73fdae04e455fa7d8b (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
# Maintainer: Justin Frank <jf.laelath@gmail.com>

pkgname=miniterm-git
_pkgname=miniterm
pkgver=1.1.3.r0.a861663
pkgrel=1
pkgdesc="Lightweight VTE terminal emulator with colorscheme support (fork of tinyterm)"
arch=('i686' 'x86_64')
url="https://gitlab.com/laelath/miniterm"
license=('MIT')
depends=('vte3' 'glib2')
makedepends=('git')
source=('https://gitlab.com/laelath/miniterm.git')
md5sums=('SKIP')

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

build() {
  cd "$_pkgname"
  make
}

package() {
  cd "$_pkgname"
  make DESTDIR="$pkgdir" install
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim:set ts=2 sw=2 et: