[arch-commits] Commit in sqlite3/trunk (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Tue Sep 27 17:41:55 UTC 2011


    Date: Tuesday, September 27, 2011 @ 13:41:55
  Author: andyrtr
Revision: 138719

upgpkg: sqlite3 3.7.8-2

fix broken permissions in doc package, FS#26128

Modified:
  sqlite3/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-09-27 17:40:26 UTC (rev 138718)
+++ PKGBUILD	2011-09-27 17:41:55 UTC (rev 138719)
@@ -8,7 +8,7 @@
 _amalgamationver2=${_amalgamationver/00/}
 _docver=${_amalgamationver}	#3070700
 pkgver=${_amalgamationver2//0/.}
-pkgrel=1
+pkgrel=2
 pkgdesc="A C library that implements an SQL database engine"
 arch=('i686' 'x86_64')
 license=('custom')
@@ -77,10 +77,14 @@
   cp -R *  ${pkgdir}/usr/share/doc/${pkgbase}/
   
   # fix permissions and remove obsolete files; https://bugs.archlinux.org/task/24605
-  find ${pkgdir} -perm 755 -exec ls -lha {} \;
-  find ${pkgdir} -perm 755 -exec chmod 644 {} \;
-  find ${pkgdir} -name '*~' -exec ls -lha {} \;
+  find ${pkgdir} -type f -perm 755 -exec ls -lha {} \;
+  find ${pkgdir} -type f -perm 755 -exec chmod 644 {} \;
+
+  find ${pkgdir} -type f -name '*~' -exec ls -lha {} \;
+  find ${pkgdir} -type d -name '*~' -exec ls -lha {} \;
   find ${pkgdir} -name '*~' -exec rm -f {} \;
-  find ${pkgdir} -name '.~*' -exec ls -lha {} \;
+
+  find ${pkgdir} -type f -name '.~*' -exec ls -lha {} \; # /build/pkg/sqlite3-doc/usr/share/doc/sqlite3/images/fileformat/.~lock.indexpage.odg#
+  find ${pkgdir} -type d -name '.~*' -exec ls -lha {} \;
   find ${pkgdir} -name '.~*' -exec rm -f {} \;
 }




More information about the arch-commits mailing list