From 4990434db7419c6e7ab2f35db1c70629accac29d Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 21 Aug 2013 10:45:28 +0200 Subject: [PATCH] archlinux PKGBUILDs: don't use install's -D switch - now they should work for both ArchLinux and ArchBSD --- distro/archlinux/git/PKGBUILD | 24 ++++++++++++++++++------ distro/archlinux/release/PKGBUILD | 3 ++- 2 files changed, 20 insertions(+), 7 deletions(-) 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 } -- 2.39.2