summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 754f95f8d720bacdd38d5656b90b98459e780890 (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
40
# Maintainer: Saeid Ahmed <itsaeid@gmail.com>
# Contributor: 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=tilda.1.4.1
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/\([^-]*-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: