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

Daniel Micay thestinger at nymeria.archlinux.org
Wed Apr 16 17:23:44 UTC 2014


    Date: Wednesday, April 16, 2014 @ 19:23:44
  Author: thestinger
Revision: 109608

upgpkg: checksec 1.5-3

Modified:
  checksec/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-04-16 17:10:16 UTC (rev 109607)
+++ PKGBUILD	2014-04-16 17:23:44 UTC (rev 109608)
@@ -13,5 +13,7 @@
 md5sums=('075996be339ab16ad7b94d6de3ee07bd')
 
 package() {
-  install -m755 -oroot -D "$srcdir/checksec.sh" "$pkgdir/usr/bin/checksec.sh"
+  install -Dm755 checksec.sh "$pkgdir/usr/bin/checksec.sh"
+  install -d "$pkgdir/usr/share/licenses/$pkgname"
+  tail -n +3 checksec.sh | head -32 | cut -c3- > "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }




More information about the arch-commits mailing list