[arch-commits] Commit in flex/trunk (PKGBUILD flex.install)
Allan McRae
allan at archlinux.org
Sun May 1 02:35:50 UTC 2016
Date: Sunday, May 1, 2016 @ 04:35:50
Author: allan
Revision: 266701
upgpkg: flex 2.6.0-3
murder the install file
Modified:
flex/trunk/PKGBUILD
Deleted:
flex/trunk/flex.install
--------------+
PKGBUILD | 5 ++---
flex.install | 22 ----------------------
2 files changed, 2 insertions(+), 25 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-01 01:15:41 UTC (rev 266700)
+++ PKGBUILD 2016-05-01 02:35:50 UTC (rev 266701)
@@ -4,7 +4,7 @@
pkgname=flex
pkgver=2.6.0
-pkgrel=2
+pkgrel=3
pkgdesc="A tool for generating text-scanning programs"
arch=('i686' 'x86_64')
url="http://flex.sourceforge.net"
@@ -11,8 +11,7 @@
license=('custom')
groups=('base-devel')
depends=('glibc' 'm4' 'sh')
-makedepends=('help2man') # needed for patch...
-install=flex.install
+makedepends=('help2man') # needed for the patch...
source=(http://downloads.sourceforge.net/sourceforge/flex/flex-$pkgver.tar.xz
flex-2.6.0-comment-style.patch)
md5sums=('3cbbfa1554d0b75fad9f8100732454de'
Deleted: flex.install
===================================================================
--- flex.install 2016-05-01 01:15:41 UTC (rev 266700)
+++ flex.install 2016-05-01 02:35:50 UTC (rev 266701)
@@ -1,22 +0,0 @@
-infodir=/usr/share/info
-filelist=(flex.info{,-1,-2})
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list