aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
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 /PKGBUILD
parent860f2679cba97c7ee7b62653dc6a2994a70f7cbd (diff)
downloadpkgbuilds-ca8a6562456937c398a5bc4c2faea47e4e7ff6ff.tar.xz
Merge termite-terminfo-git into a split PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 15 insertions, 5 deletions
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
+}