From ca8a6562456937c398a5bc4c2faea47e4e7ff6ff Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sun, 16 Nov 2014 16:44:36 +0100 Subject: Merge termite-terminfo-git into a split PKGBUILD --- PKGBUILD | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index 9a41896..4075a00 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,14 +1,16 @@ -pkgname=termite-git +pkgbase=termite-git +pkgname=('termite-git' 'termite-terminfo-git') pkgver=9.r3.gcb3dfb7 pkgrel=1 -pkgdesc="A simple VTE-based terminal" +pkgdesc="A simple VTE-based terminal emulator" url="https://github.com/thestinger/termite/" arch=('i686' 'x86_64') license=('GPL') -depends=('atk' 'cairo' 'glibc' 'glib2' 'gcc-libs' 'gtk3' 'pango' 'vte3-select-text-git>=0.38.0') -makedepends=('git') +depends=('atk' 'cairo' 'glibc' 'glib2' 'gcc-libs' + 'gtk3' 'pango' 'vte3-select-text-git>=0.38.0') +makedepends=('git' 'ncurses') provides=('termite') conflicts=('termite') @@ -41,8 +43,16 @@ build() { make } -package() { +package_termite-git() { cd termite make PREFIX=/usr DESTDIR="$pkgdir" install install -Dm644 config "$pkgdir"/etc/xdg/termite/config } + +package_termite-terminfo-git() { + pkgdesc="terminfo for termite-git, a simple VTE-based terminal emulator" + depends=() + + install -d "$pkgdir"/usr/share/terminfo + tic -x "$srcdir"/termite/termite.terminfo -o "$pkgdir"/usr/share/terminfo +} -- cgit v1.2.3-70-g09d2