summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cbf026fb12d5f27dd81e83aa6429ac45075eb624 (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
37
38
39
# Maintainer: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: Rob Lynn <rob22uk at gmail dot com>
# Contributor: DerFlob <derflob at derflob dot de>
# Contributor: Jorge Barroso <jorge.barroso.11 at gmail dot com>

pkgname=tilda-git
_gitname=tilda
pkgver=1.3.2.r51.gbb0cb46
pkgrel=1
pkgdesc="Linux terminal based on classic terminals from first person shooter games"
arch=('i686' 'x86_64')
url="https://github.com/lanoxx/tilda"
license=('GPL')
depends=('gtk3' 'vte3' 'glib2' 'confuse' 'libglade')
makedepends=('git')
provides=('tilda')
conflicts=('tilda')

source=('git://github.com/lanoxx/tilda.git')
sha1sums=('SKIP')

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

build() {
  cd $_gitname
  ./autogen.sh --prefix=/usr
  make
}

package() {
  cd $_gitname
  make DESTDIR="$pkgdir/" install
  sed -i 's|applications/tilda.png|pixmaps/tilda.png|' "$pkgdir/usr/share/applications/tilda.desktop"
}

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