#!/usr/bin/bash
# JOBoRun		: Jwm OpenBox Obarun RUNit
# Maintainer	: Joe Bo Run <joborun@disroot.org>
# PkgSource		: url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website		: https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------

pkgname=lxterminal
pkgver=0.4.0
pkgrel=01
pkgdesc="VTE-based terminal emulator (custom Joborun .conf)"
arch=('x86_64')
url="https://lxde.org/"
groups=('lxde' 'lxde-gtk3')
depends=('vte3' 'ttf-liberation')
makedepends=('intltool')
conflicts=('lxterminal-gtk3')
replaces=('lxterminal-gtk3')
source=(https://downloads.sourceforge.net/lxde/${pkgname}-${pkgver}.tar.xz
	lxterminal.conf)

build() {
  cd $pkgname-$pkgver
  ./configure --sysconfdir=/etc --prefix=/usr --enable-gtk3
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
  install -Dm644 "$srcdir/lxterminal.conf"  "$pkgdir/usr/share/lxterminal/lxterminal.conf"
}

#---- license gpg-key sha256sums ----

license=('GPL2')

sha256sums=(9db8748923b3fa09a82ae2210ed1fa4cdb4c45312009da9caed103d48f8e9be7 # lxterminal-0.4.0.tar.xz
	083728c75901e304ea25ec68bc4e5731f8e710102bbfbf74964820a3abfdb015) # lxterminal.conf
