summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 855c755ab44fffc1a4e721d7d80ee22bf377a67d (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
# Maintainer: Donald Carr <d at chaos-reins dot com>

_qmake="qmake"
_pkgname=literm
pkgname=${_pkgname}-git
pkgver=0.0.328
pkgrel=1
pkgdesc='literm is a terminal emulator: the design goal is to be simplistic while still providing a reasonable amount of features.'
arch=('any')
url='https://github.com/rburchell/literm'
license=('GPL2')
source=("git+https://github.com/rburchell/literm.git")
sha256sums=('SKIP')

pkgver () {
  cd "$srcdir/$_pkgname"

  echo "0.0.$(git rev-list --count HEAD)"
  # git describe --tags --long | sed -r 's/^v//;s/-RC/RC/;s/([^-]*-g)/r\1/;s/-/./g'
}

build() {
  cd "$srcdir/$_pkgname"

  $_qmake
  make
}

package() {
  cd "$srcdir/$_pkgname"

  make INSTALL_ROOT="$pkgdir" install

}