1 # Contributor: Cilyan Olowen <gaknar@gmail.com>
5 pkgdesc="VTE-based terminal emulator (part of LXDE)"
9 depends=('gtk2>=2.12.0' 'fontconfig' 'libx11' 'glib2' 'vte')
10 makedepends=('pkgconfig' 'intltool' 'git')
11 conflicts=('lxterminal')
12 provides=('lxterminal')
17 _gitroot='git://lxde.git.sourceforge.net/gitroot/lxde/lxterminal'
23 if [ -d "${srcdir}/${_gitname}" ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone $_gitroot $_gitname
29 msg "GIT checkout done or server timeout. Preparing sources..."
31 [ -d "${srcdir}/${_gitname}-build" ] && rm -rf "${srcdir}/${_gitname}-build"
32 cp -r "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
33 cd "${srcdir}/${_gitname}-build"
35 msg "Starting make..."
37 # Generating Makefile, etc
38 ./autogen.sh || return 1
40 ./configure --prefix=/usr \
42 --localstatedir=/var || return 1
44 # Make and install without man pages
45 make SUBDIRS="src data po" || return 1
46 make SUBDIRS="src data po" DESTDIR="${pkgdir}" install || return 1