Date: Thursday, October 31, 2013 @ 16:29:22
  Author: kkeen
Revision: 100041

upgpkg: elinks 0.13-14

Added:
  elinks/trunk/elinks.install
Modified:
  elinks/trunk/PKGBUILD

----------------+
 PKGBUILD       |    4 +++-
 elinks.install |   12 ++++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2013-10-31 14:38:10 UTC (rev 100040)
+++ PKGBUILD    2013-10-31 15:29:22 UTC (rev 100041)
@@ -8,7 +8,7 @@
 pkgname=elinks
 pkgver=0.13
 _commit="a3751107033599b835eaafa61177c8d4dda4b7ef"
-pkgrel=13
+pkgrel=14
 pkgdesc="An advanced and well-established feature-rich text mode web browser."
 arch=("i686" "x86_64")
 url="http://elinks.or.cz";
@@ -16,11 +16,13 @@
 depends=('bzip2' 'expat>=2.0' 'gpm>=1.20.4' 'openssl' 'lua51' 'libidn' 'js185'
         'gc' 'tre')
 makedepends=('git')
+install=elinks.install
 source=("git+http://elinks.cz/elinks.git#commit=$_commit";)
 md5sums=('SKIP')
 
 build() {
   cd elinks
+  sed -i 's/Terminal=1/Terminal=true/' "contrib/debian/$pkgname.desktop"
   [ -x configure ] || sh autogen.sh
   ./configure --prefix=/usr --mandir=/usr/share/man \
               --sysconfdir=/etc \

Added: elinks.install
===================================================================
--- elinks.install                              (rev 0)
+++ elinks.install      2013-10-31 15:29:22 UTC (rev 100041)
@@ -0,0 +1,12 @@
+post_install() {
+  update-desktop-database -q
+  update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Reply via email to