From 9574d950a22abf3edb1b97ad3aa01deaccb9c3cc Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 3 Jan 2013 16:47:20 +0100 Subject: [PATCH] dmd: fix permissions. --- srcpkgs/dmd/libphobos.template | 2 +- srcpkgs/dmd/template | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/dmd/libphobos.template b/srcpkgs/dmd/libphobos.template index f6c2570b745..df17979e131 100644 --- a/srcpkgs/dmd/libphobos.template +++ b/srcpkgs/dmd/libphobos.template @@ -17,7 +17,7 @@ do_install() { vmkdir usr/share/doc/d/ cp -r html ${DESTDIR}/usr/share/doc/d/ - find ${DESTDIR}/usr -type f | xargs chmod 0644 + find ${DESTDIR}/usr/share/doc/d -type f | xargs chmod 0644 vinstall src/druntime/LICENSE 644 usr/share/licenses/libphobos } diff --git a/srcpkgs/dmd/template b/srcpkgs/dmd/template index af00af616d1..a6130a7e85a 100644 --- a/srcpkgs/dmd/template +++ b/srcpkgs/dmd/template @@ -1,7 +1,7 @@ # Template file for 'dmd' pkgname=dmd version=2.061 -revision=2 +revision=3 wrksrc="dmd2" short_desc="The Digital Mars D compiler" maintainer="Juan RP " @@ -45,7 +45,7 @@ do_install() { vmkdir usr/share/d/samples cp -r samples/d/* ${DESTDIR}/usr/share/d/samples/ - find ${DESTDIR}/usr -type f | xargs chmod 0644 + find ${DESTDIR}/usr/share/d/samples -type f | xargs chmod 0644 for f in ddemangle dman dumpobj obj2asm rdmd; do vinstall linux/bin${_archbits}/${f} 755 usr/bin