aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-11-16 16:44:36 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:44 +0200
commitca8a6562456937c398a5bc4c2faea47e4e7ff6ff (patch)
tree11de3c41157336849000c12bdc2fafcf14e45196
parent860f2679cba97c7ee7b62653dc6a2994a70f7cbd (diff)
downloadpkgbuilds-ca8a6562456937c398a5bc4c2faea47e4e7ff6ff.tar.xz
Merge termite-terminfo-git into a split PKGBUILD
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD20
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
+}