summaryrefslogtreecommitdiff
path: root/community/dwb
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/dwb
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/dwb')
-rw-r--r--community/dwb/PKGBUILD26
-rw-r--r--community/dwb/dwb.install13
2 files changed, 39 insertions, 0 deletions
diff --git a/community/dwb/PKGBUILD b/community/dwb/PKGBUILD
new file mode 100644
index 000000000..9c7fb1a8a
--- /dev/null
+++ b/community/dwb/PKGBUILD
@@ -0,0 +1,26 @@
+#$Id: PKGBUILD 87389 2013-03-30 14:49:30Z dwallace $
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: portix <portix at gmx.net>
+
+pkgname=dwb
+pkgver=2013.03.30
+pkgrel=2
+pkgdesc="A webkit web browser with vi-like keyboard shortcuts, stable snapshot"
+url="http://portix.bitbucket.org/dwb/"
+arch=('i686' 'x86_64')
+install=dwb.install
+license=('GPL')
+depends=('libwebkit' 'desktop-file-utils')
+makedepends=('json-c')
+source=(https://bitbucket.org/portix/"${pkgname}"/downloads/"${pkgname}"-"${pkgver}".tar.gz)
+sha1sums=(57207525896a0c6145e1da69481e3ccc043757e9)
+
+build() {
+ cd "${srcdir}"/"${pkgname}"-"${pkgver}"
+ make
+}
+package() {
+ cd "${srcdir}"/"${pkgname}"-"${pkgver}"
+ export BASHCOMPLETION=/usr/share/bash-completion/completions
+ make DESTDIR=${pkgdir} install
+}
diff --git a/community/dwb/dwb.install b/community/dwb/dwb.install
new file mode 100644
index 000000000..abb6d38e4
--- /dev/null
+++ b/community/dwb/dwb.install
@@ -0,0 +1,13 @@
+post_install(){
+ update-desktop-database -q
+ echo "==> If you are using extensions you should update the extensions with"
+ echo "==> dwbem -u or dwbem -Nu"
+}
+
+post_upgrade(){
+ post_install
+}
+
+post_remove(){
+ post_install
+}