From 71f4b310d03a6b7c1a562a870cf45d5c0a3d0f4a Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 25 Feb 2014 21:09:04 +0100 Subject: termite-git and git version of vte3 with stingers patch --- PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 PKGBUILD (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..0d1270b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,48 @@ +pkgname=termite-git +pkgver=git +pkgrel=1 + +pkgdesc="A simple VTE-based terminal" +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') +makedepends=('git') + +provides=('termite') +conflicts=('termite') + +backup=('etc/xdg/termite/config') + +source=('git+https://github.com/thestinger/termite' + 'git+https://github.com/thestinger/util' + 'reverse_url_search.patch') + +md5sums=('SKIP' + 'SKIP' + '8d4e4216cee58a1b0df223dde2216bf1') + +pkgver() { + cd termite + git describe | sed 's/^v//; s/-/.r/; s/-/./' +} + +prepare() { + cd termite + git submodule init + git config submodule.util.url "$srcdir"/util + git submodule update + patch -Np1 -i "$srcdir"/reverse_url_search.patch +} + +build() { + cd termite + make +} + +package() { + cd termite + make PREFIX=/usr DESTDIR="$pkgdir" install + install -Dm644 config "$pkgdir"/etc/xdg/termite/config +} -- cgit v1.2.3-70-g09d2