summaryrefslogtreecommitdiff
path: root/community/dwb
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/dwb
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 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
+}