Date: Thursday, April 28, 2016 @ 11:25:38
  Author: eworm
Revision: 172399

upgpkg: cdcd 0.6.6-8

Hooks! (Remove install file...)

Modified:
  cdcd/trunk/PKGBUILD
Deleted:
  cdcd/trunk/cdcd.install

--------------+
 PKGBUILD     |    7 +++----
 cdcd.install |   20 --------------------
 2 files changed, 3 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2016-04-28 09:21:17 UTC (rev 172398)
+++ PKGBUILD    2016-04-28 09:25:38 UTC (rev 172399)
@@ -5,13 +5,12 @@
 
 pkgname=cdcd
 pkgver=0.6.6
-pkgrel=7
+pkgrel=8
 pkgdesc="A commandline cd-player"
 arch=('i686' 'x86_64')
 depends=('libcdaudio' 'readline')
 url="http://libcdaudio.sourceforge.net/";
 license=('GPL2')
-install=cdcd.install
 source=("http://downloads.sourceforge.net/libcdaudio/$pkgname-$pkgver.tar.gz";)
 md5sums=('dc17f2e275c7214cb693f6abb50f29fb')
 
@@ -36,9 +35,9 @@
 
 package() {
   cd "$srcdir/$pkgname-$pkgver"
- 
+
   make PREFIX=/usr DESTDIR="$pkgdir" install
-  
+
   mv "$pkgdir/usr/info" "$pkgdir/usr/share/"
   mv "$pkgdir/usr/man/" "$pkgdir/usr/share/"
   rm "$pkgdir/usr/share/dir"

Deleted: cdcd.install
===================================================================
--- cdcd.install        2016-04-28 09:21:17 UTC (rev 172398)
+++ cdcd.install        2016-04-28 09:25:38 UTC (rev 172399)
@@ -1,20 +0,0 @@
-infodir=usr/share/info
-filelist=(cdcd.info.gz)
-
-post_install() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    install-info $infodir/$file $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 $infodir/dir 2> /dev/null
-  done
-}

Reply via email to