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

Kyle Keen kkeen at archlinux.org
Thu Apr 28 20:15:23 UTC 2016


    Date: Thursday, April 28, 2016 @ 22:15:23
  Author: kkeen
Revision: 172451

upgpkg: pcb 20140316-3 install hook rebuild

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

-------------+
 PKGBUILD    |    3 +--
 pcb.install |   37 -------------------------------------
 2 files changed, 1 insertion(+), 39 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-04-28 20:03:30 UTC (rev 172450)
+++ PKGBUILD	2016-04-28 20:15:23 UTC (rev 172451)
@@ -9,7 +9,7 @@
 
 pkgname=pcb
 pkgver=20140316
-pkgrel=2
+pkgrel=3
 pkgdesc='Interactive printed circuit board editor'
 url='http://pcb.geda-project.org/'
 license=('GPL')
@@ -22,7 +22,6 @@
 makedepends=('intltool' 'tk')
 source=("http://downloads.sourceforge.net/pcb/${pkgname}-${pkgver}.tar.gz")
 sha1sums=('ec714ff136d1817e500e1a9e654e786883b9501e')
-install=pcb.install
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"

Deleted: pcb.install
===================================================================
--- pcb.install	2016-04-28 20:03:30 UTC (rev 172450)
+++ pcb.install	2016-04-28 20:15:23 UTC (rev 172451)
@@ -1,37 +0,0 @@
-infodir=/usr/share/info
-filelist=(pcb.info pcb.info-1 pcb.info-2)
-
-post_install() {
-   if [ -x /usr/bin/update-mime-database ]; then
-      echo Updating mime database...
-      /usr/bin/update-mime-database /usr/share/mime
-   fi
-   if [ -x /usr/bin/update-desktop-database ]; then
-      echo Updating desktop database..
-      /usr/bin/update-desktop-database /usr/share/applications
-   fi
-   if [ -x /usr/bin/install-info ]; then
-      echo Updating info directory...
-      for file in ${filelist[@]}; do
-        install-info $infodir/$file $infodir/dir 2> /dev/null
-      done
-   fi 
-   /usr/bin/gtk-update-icon-cache -f -t /usr/share/icons/hicolor	
-}
- 
-post_upgrade() {
-   post_install $1
-}
-
-pre_remove() {
-   if [ -x /usr/bin/install-info ]; then
-      echo Updating info directory...
-      for file in ${filelist[@]}; do
-        install-info --delete $infodir/$file $infodir/dir 2> /dev/null
-      done
-   fi	
-}
-
-post_remove() {
-   /usr/bin/gtk-update-icon-cache -f -t /usr/share/icons/hicolor
-}



More information about the arch-commits mailing list