[arch-commits] Commit in termite/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 12:48:18 UTC 2020


    Date: Tuesday, July 7, 2020 @ 12:48:17
  Author: felixonmars
Revision: 658234

archrelease: copy trunk to community-staging-x86_64

Added:
  termite/repos/community-staging-x86_64/
  termite/repos/community-staging-x86_64/PKGBUILD
    (from rev 658233, termite/trunk/PKGBUILD)

----------+
 PKGBUILD |   67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)

Copied: termite/repos/community-staging-x86_64/PKGBUILD (from rev 658233, termite/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 12:48:17 UTC (rev 658234)
@@ -0,0 +1,67 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Daniel Micay <danielmicay at gmail.com>
+
+pkgbase=termite
+pkgname=('termite' 'termite-terminfo')
+pkgver=15
+pkgrel=2
+pkgdesc="A simple VTE-based terminal"
+url="https://github.com/thestinger/termite/"
+license=('LGPL')
+arch=('x86_64')
+depends=('gtk3' 'pcre2' 'gnutls' 'vte-common')
+makedepends=('git' 'ncurses' 'intltool' 'gperf' 'gtk-doc')
+_vtever=0.56.2.a
+source=("git+https://github.com/thestinger/termite#tag=v$pkgver"
+        "git+https://github.com/thestinger/vte-ng#tag=$_vtever"
+        "termite-util::git+https://github.com/thestinger/util")
+sha256sums=('SKIP'
+            'SKIP'
+            'SKIP')
+
+prepare() {
+  cd vte-ng
+  echo 'sources: $(BUILT_SOURCES)' >> src/Makefile.am 
+  NOCONFIGURE=1 ./autogen.sh
+
+  cd ../$pkgbase
+  git submodule init
+  git config --local submodule.util.url "$srcdir/termite-util"
+  git submodule update
+}
+
+build() {
+  cd vte-ng
+  ./configure \
+    --prefix="$srcdir/vte-static" \
+    --localedir="/usr/share/$pkgbase/locale" \
+    --enable-static \
+    --disable-shared \
+    enable_introspection=no \
+    enable_vala=no \
+    --disable-gtk-doc \
+    --disable-glade-catalogue
+  make -C src sources install-exec install-data -j 1 # makefile bug does not allow -j
+  make install-pkgconfigDATA
+
+  cd ../$pkgbase
+  export PKG_CONFIG_PATH="$srcdir/vte-static/lib/pkgconfig"
+  make
+}
+
+package_termite() {
+  depends+=('termite-terminfo')
+  backup=(etc/xdg/termite/config)
+
+  make -C vte-ng/po DESTDIR="$pkgdir" install-data
+  make -C $pkgbase DESTDIR="$pkgdir" PREFIX=/usr install
+  rm -r "$pkgdir/usr/share/terminfo"
+}
+
+package_termite-terminfo() {
+  pkgdesc='Terminfo for Termite, a simple VTE-based terminal'
+  depends=('ncurses')
+
+  mkdir -p "$pkgdir/usr/share/terminfo"
+  tic -x -o "$pkgdir/usr/share/terminfo" $pkgbase/termite.terminfo
+}


More information about the arch-commits mailing list