summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Rojas2016-05-06 18:15:09 +0000
committerAntonio Rojas2016-05-06 18:15:09 +0000
commita638eef0739f7f24b128020bb4f977689a5d7a37 (patch)
treecad0dc1885562356aba5751e5063736a38b0c628
parent1acfaebd4f0771b492dfbc1059c897fd2317f9ef (diff)
downloadaur-a638eef0739f7f24b128020bb4f977689a5d7a37.tar.gz
Hooks
-rw-r--r--PKGBUILD3
-rw-r--r--gv.install18
2 files changed, 1 insertions, 20 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a953447a450f..fc0ddd4073f2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,13 @@
pkgname=gv
pkgver=3.7.4
-pkgrel=2
+pkgrel=3
pkgdesc="A program to view PostScript and PDF documents"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/gv/"
license=('GPL3')
depends=('xaw3d' 'ghostscript' 'desktop-file-utils')
options=('emptydirs')
-install=gv.install
source=(http://ftp.gnu.org/gnu/gv/${pkgname}-${pkgver}.tar.gz{,.sig} gv.desktop)
sha1sums=('d5bc11a37136dff69248f943a632544a4036b63f'
'7d8b7edd60617b189ba39ca982252b0d59c0755d'
diff --git a/gv.install b/gv.install
deleted file mode 100644
index 0c048cd5b164..000000000000
--- a/gv.install
+++ /dev/null
@@ -1,18 +0,0 @@
-infodir=usr/share/info
-file=gv.info.gz
-
-post_install() {
- update-desktop-database -q
- [ -x usr/bin/install-info ] || return 0
- install-info $infodir/$file $infodir/dir 2> /dev/null
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- update-desktop-database -q
- [ -x usr/bin/install-info ] || return 0
- install-info --delete $infodir/$file $infodir/dir 2> /dev/null
-}