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 --- .SRCINFO | 7 ++++++- PKGBUILD | 20 +++++++++++++++----- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index d52aba5..acbbde7 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ # Generated by makepkg 4.2.1 # Mon Jun 1 14:56:39 UTC 2015 pkgbase = termite-git - pkgdesc = A simple VTE-based terminal + pkgdesc = A simple VTE-based terminal emulator pkgver = 9.r3.gcb3dfb7 pkgrel = 1 url = https://github.com/thestinger/termite/ @@ -9,6 +9,7 @@ pkgbase = termite-git arch = x86_64 license = GPL makedepends = git + makedepends = ncurses depends = atk depends = cairo depends = glibc @@ -29,3 +30,7 @@ pkgbase = termite-git pkgname = termite-git +pkgname = termite-terminfo-git + pkgdesc = terminfo for termite-git, a simple VTE-based terminal emulator + depends = + 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