From: Wolfgang Bumiller Date: Wed, 21 Aug 2013 08:45:28 +0000 (+0200) Subject: archlinux PKGBUILDs: don't use install's -D switch - now they should work for both... X-Git-Tag: 0.3.5~152 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4990434db7419c6e7ab2f35db1c70629accac29d;p=xonotic%2Fgmqcc.git archlinux PKGBUILDs: don't use install's -D switch - now they should work for both ArchLinux and ArchBSD --- diff --git a/distro/archlinux/git/PKGBUILD b/distro/archlinux/git/PKGBUILD index da247d7..77fee4a 100644 --- a/distro/archlinux/git/PKGBUILD +++ b/distro/archlinux/git/PKGBUILD @@ -38,11 +38,23 @@ package() { make install DESTDIR=$pkgdir PREFIX=/usr msg "Compiling done." - install -Dm644 syntax/geany/filetypes.qc ${pkgdir}/usr/share/geany/filetypes.qc - install -Dm644 syntax/gtksourceview/qc.lang ${pkgdir}/usr/share/gtksourceview-3.0/language-specs/qc.lang - # jedit - install -Dm644 syntax/kate/qc.xml ${pkgdir}/usr/share/apps/katepart/syntax/qc.xml - install -Dm644 syntax/nano/qc.nanorc ${pkgdir}/usr/share/nano/qc.nanorc + install -dm755 ${pkgdir}/usr/share/geany + install -m644 syntax/geany/filetypes.qc \ + ${pkgdir}/usr/share/geany/filetypes.qc - install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/gmqcc/LICENSE + install -dm755 ${pkgdir}/usr/share/gtksourceview-3.0/language-specs + install -m644 syntax/gtksourceview/qc.lang \ + ${pkgdir}/usr/share/gtksourceview-3.0/language-specs/qc.lang + + install -dm755 ${pkgdir}/usr/share/apps/katepart/syntax + install -m644 syntax/kate/qc.xml \ + ${pkgdir}/usr/share/apps/katepart/syntax/qc.xml + + install -dm755 ${pkgdir}/usr/share/nano + install -m644 syntax/nano/qc.nanorc \ + ${pkgdir}/usr/share/nano/qc.nanorc + + install -dm755 ${pkgdir}/usr/share/licenses/gmqcc + install -m644 LICENSE \ + ${pkgdir}/usr/share/licenses/gmqcc/LICENSE } diff --git a/distro/archlinux/release/PKGBUILD b/distro/archlinux/release/PKGBUILD index 62c7160..6253271 100644 --- a/distro/archlinux/release/PKGBUILD +++ b/distro/archlinux/release/PKGBUILD @@ -33,5 +33,6 @@ package() { make install DESTDIR=$pkgdir PREFIX=/usr msg "Compiling done." - install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/gmqcc/LICENSE + install -dm755 ${pkgdir}/usr/share/licenses/gmqcc + install -m644 LICENSE ${pkgdir}/usr/share/licenses/gmqcc/LICENSE }