[arch-commits] Commit in screen/trunk (PKGBUILD screen.install)

Allan McRae allan at archlinux.org
Fri May 29 00:52:11 UTC 2009


    Date: Thursday, May 28, 2009 @ 20:52:11
  Author: allan
Revision: 40237

upgpkg: screen 4.0.3-8
    fix install scriptlet error, update url

Modified:
  screen/trunk/PKGBUILD
  screen/trunk/screen.install

----------------+
 PKGBUILD       |    4 ++--
 screen.install |   16 ++++++++--------
 2 files changed, 10 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-05-28 23:08:09 UTC (rev 40236)
+++ PKGBUILD	2009-05-29 00:52:11 UTC (rev 40237)
@@ -4,11 +4,11 @@
 
 pkgname=screen
 pkgver=4.0.3
-pkgrel=7
+pkgrel=8
 _ptygroup=5 #the UID of our PTY/TTY group
 pkgdesc="Full-screen window manager that multiplexes a physical terminal"
 arch=('i686' 'x86_64')
-url="ftp://ftp.uni-erlangen.de/pub/utilities/screen"
+url="http://www.gnu.org/software/screen/"
 license=('GPL')
 depends=('ncurses' 'pam')
 backup=('etc/screenrc' 'etc/pam.d/screen')

Modified: screen.install
===================================================================
--- screen.install	2009-05-28 23:08:09 UTC (rev 40236)
+++ screen.install	2009-05-29 00:52:11 UTC (rev 40237)
@@ -9,14 +9,6 @@
 }
 
 pre_upgrade() {
-    pre_remove $*
-}
-
-post_upgrade() {
-    post_install $1
-}
-
-pre_remove() {
     compiled="/usr/share/terminfo/s/screen-256color"
     if [ -e $compiled ]; then
         if pacman -Qo $compiled 2>&1 | grep "No package owns" >/dev/null; then
@@ -33,7 +25,15 @@
             echo "done."
         fi
     fi
+}
 
+post_upgrade() {
+    post_install $1
+}
+
+pre_remove() {
+    pre_upgrade $*
+
     [ -x usr/bin/install-info ] || return 0
     for file in ${filelist[@]}; do
         install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null




More information about the arch-commits mailing list