summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ed31f3760a33d8d35bbbdd2151f5c086351f02f0 (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
# Contributor: Cilyan Olowen <gaknar@gmail.com>
pkgname=lxterminal-git
pkgver=0.4.0.r31.g9b4299c
pkgrel=2
pkgdesc="VTE-based terminal emulator (part of LXDE)"
arch=('i686' 'x86_64')
url="http://lxde.org/"
license=('GPL2')
depends=('vte3')
makedepends=('intltool' 'git' 'libxslt' 'docbook-xml' 'docbook-xsl')
provides=('lxterminal')
conflicts=('lxterminal')
groups=('lxde-git')
source=(git+https://github.com/lxde/lxterminal)
sha512sums=('SKIP')

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

build() {
  cd "lxterminal"
  
  # Generating Makefile, etc
  ./autogen.sh || return 1

  ./configure --prefix=/usr \
              --sysconfdir=/etc \
              --localstatedir=/var \
			  --enable-gtk3 \
			  --enable-man
  make
}
package() {
  cd "lxterminal"

  make DESTDIR="${pkgdir}" install
}