summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRay Song2016-03-21 20:14:53 +0800
committerRay Song2016-03-21 20:14:53 +0800
commit2cec4b17420736ae76a10836889edc4802feb6e8 (patch)
tree0995043d41ac033a24c4f09741afb452488e105f /PKGBUILD
downloadaur-2cec4b17420736ae76a10836889edc4802feb6e8.tar.gz
initial
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2289c44236e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 161489 2016-02-13 22:22:08Z jelle $
+# Maintainer: Ray Song <i@maskray.me>
+
+pkgname=vte3-ng-fullwidth-emoji
+_basever=0.42.4
+pkgver=$_basever.a
+pkgrel=1
+pkgdesc="Enhanced Virtual Terminal Emulator widget for use with GTK3 (patched with support for fullwidth emoji)"
+arch=('i686' 'x86_64')
+license=('LGPL')
+options=('!emptydirs')
+depends=('gtk3' 'vte-common')
+makedepends=('intltool' 'gobject-introspection' 'gtk3' 'vala' 'gtk-doc' 'gperf')
+url="https://github.com/thestinger/vte-ng"
+source=(https://github.com/thestinger/vte-ng/archive/$pkgver.tar.gz fullwidth-emoji.patch)
+sha256sums=('97f1572b1080614b9dcf261a8abe4c7bfd840f7dc91e9bb29ffe310525b28443'
+ '0a842a9a7a1a053c8c3ac107a42021fbcaf195a87996939717fc52400ae061d2')
+provides=(vte3=$_basever vte3-select-text=$_basever vte3-ng)
+conflicts=(vte3 vte3-select-text vte3-ng)
+replaces=(vte3-select-text vte3-ng)
+
+prepare() {
+ patch -p1 < ../fullwidth-emoji.patch
+}
+
+build() {
+ cd "vte-ng-$pkgver"
+ ./autogen.sh --prefix=/usr --sysconfdir=/etc \
+ --libexecdir=/usr/lib/vte \
+ --localstatedir=/var --disable-static \
+ --enable-introspection
+ make
+}
+
+package() {
+ cd "vte-ng-$pkgver"
+ make DESTDIR="$pkgdir" install
+
+ rm "$pkgdir/etc/profile.d/vte.sh"
+}