[arch-commits] Commit in termite/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Mon Feb 29 15:54:26 UTC 2016


    Date: Monday, February 29, 2016 @ 16:54:25
  Author: bpiotrowski
Revision: 163813

upgpkg: termite 11-2

split terminfo to its own package

Modified:
  termite/trunk/PKGBUILD

----------+
 PKGBUILD |   28 +++++++++++++++++++---------
 1 file changed, 19 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-02-29 15:30:18 UTC (rev 163812)
+++ PKGBUILD	2016-02-29 15:54:25 UTC (rev 163813)
@@ -1,27 +1,37 @@
 # $Id$
 # Maintainer: Daniel Micay <danielmicay at gmail.com>
 
-pkgname=termite
+pkgname=('termite' 'termite-terminfo')
 pkgver=11
-pkgrel=1
-pkgdesc="A simple VTE-based terminal"
+pkgrel=2
 arch=('i686' 'x86_64')
 url="https://github.com/thestinger/termite/"
 license=('LGPL')
-depends=('vte3-ng')
-makedepends=('git')
-backup=(etc/xdg/termite/config)
+makedepends=('git' 'vte3-ng' 'ncurses')
 source=("git://github.com/thestinger/termite#tag=v$pkgver")
 md5sums=('SKIP')
 
 build() {
-  cd $pkgname
+  cd $pkgbase
   git submodule update --init
   make
 }
 
-package() {
-  cd $pkgname
+package_termite() {
+  pkgdesc="A simple VTE-based terminal"
+  depends=('vte3-ng' 'termite-terminfo')
+  backup=(etc/xdg/termite/config)
+
+  cd $pkgbase
   make PREFIX=/usr DESTDIR="$pkgdir" install
+  rm -rf "$pkgdir/usr/share/terminfo"
   install -Dm644 config "$pkgdir/etc/xdg/termite/config"
 }
+
+package_termite-terminfo() {
+  pkgdesc='Terminfo for Termite, a simple VTE-based terminal'
+
+  cd $pkgbase
+  install -d "$pkgdir/usr/share/terminfo"
+  tic -x termite.terminfo -o "$pkgdir/usr/share/terminfo"
+}



More information about the arch-commits mailing list