1 # Maintainer: Kyle Keen <keenerd@gmail.com>
6 pkgdesc="A minimalists web browser, vi-like while maintaining traditional web browser behavior."
8 url="http://opensource.conformal.com/wiki/XXXTerm"
10 depends=('libwebkit' 'gtk2' 'libbsd')
12 source=(http://opensource.conformal.com/snapshots/$pkgname/$pkgname-$pkgver.tgz \
14 md5sums=('4645c5519586a2db5f2bbd9e53ed27ce'
15 'f3eeb6e8b70a3dcccb8ee57daf584c9e')
18 cd "$srcdir/$pkgname-$pkgver"
19 sed -i 's|LIBS= gtk+-2.0|& javascriptcoregtk-1.0|' linux/Makefile
20 sed -i 's|/etc/ssl/cert.pem|/etc/ssl/certs/ca-certificates.crt|' xxxterm.conf
22 sed -i 's|https://www.cyphertite.com|https://archlinux.org|' xxxterm.{c,conf}
23 sed -i 's|/usr/local/share/xxxterm/|/usr/share/xxxterm/|' xxxterm.{c,conf}
25 sed -i 's/gnutls/& libbsd/' Makefile
30 cd "$srcdir/$pkgname-$pkgver/linux"
31 make PREFIX="/usr" DESTDIR="$pkgdir" install
33 install -Dm644 xxxterm.conf "$pkgdir/etc/skel/xxxterm.conf"
34 install -Dm644 xxxterm.desktop "$pkgdir/usr/share/applications/xxxterm.desktop"
36 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"