dmd: fix permissions.

This commit is contained in:
Juan RP 2013-01-03 16:47:20 +01:00
parent 07d46f2d16
commit 9574d950a2
2 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ do_install() {
vmkdir usr/share/doc/d/ vmkdir usr/share/doc/d/
cp -r html ${DESTDIR}/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 vinstall src/druntime/LICENSE 644 usr/share/licenses/libphobos
} }

View file

@ -1,7 +1,7 @@
# Template file for 'dmd' # Template file for 'dmd'
pkgname=dmd pkgname=dmd
version=2.061 version=2.061
revision=2 revision=3
wrksrc="dmd2" wrksrc="dmd2"
short_desc="The Digital Mars D compiler" short_desc="The Digital Mars D compiler"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
@ -45,7 +45,7 @@ do_install() {
vmkdir usr/share/d/samples vmkdir usr/share/d/samples
cp -r samples/d/* ${DESTDIR}/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 for f in ddemangle dman dumpobj obj2asm rdmd; do
vinstall linux/bin${_archbits}/${f} 755 usr/bin vinstall linux/bin${_archbits}/${f} 755 usr/bin