summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 306fdb8fe99426ce18eefa114589636c277e9734 (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
# Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>
# Contributor: 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
pkgver=1.4.1.r0.g1607681
pkgrel=1
pkgdesc="A Gtk based drop down terminal for Linux and Unix."
arch=('x86_64')
url="https://github.com/lanoxx/tilda"
license=('GPL')
depends=('confuse' 'vte3')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://github.com/lanoxx/tilda.git')
sha1sums=('SKIP')

pkgver() {
  cd ${pkgname%-git}
  git describe --long --tags $(git rev-list --tags --max-count=1) | sed 's/^tilda-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

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

package() {
  cd ${pkgname%-git}
  make DESTDIR="${pkgdir}/" install
}
# vim:set ts=2 sw=2 et: