summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 75f31eb0c67ec732fb222029fff747ae47c33a48 (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: Jakub Klinkovsk√Ĺ <j.l.k@gmx.com>

pkgname=tinyterm-git
_pkgname=tinyterm
pkgver=0.3.r1.g633d60e
pkgrel=2
pkgdesc="Very lightweight terminal emulator based on VTE (fork of tinyterm-svn package)"
arch=('i686' 'x86_64')
url="https://github.com/lahwaacz/tinyterm"
license=('MIT')
depends=('vte-legacy')
makedepends=('git')
source=('git://github.com/lahwaacz/tinyterm.git')
md5sums=('SKIP')

pkgver() {
  cd "$_pkgname"
  git describe --long --tags | sed 's|^v||;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: