summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Brink2019-07-12 20:10:27 -0700
committerJames Brink2019-07-12 20:10:27 -0700
commit95458e504fe2296270b11913b47e4d1c9aae2e6e (patch)
tree07670fbf22f23b5d3a20749ad669ca6687dd94af
parent63c3f37b9e8a4055b98a32675fe9bc381d6fd6fb (diff)
downloadaur-95458e504fe2296270b11913b47e4d1c9aae2e6e.tar.gz
Remove -j flags from make and fixed tab spacing
-rw-r--r--PKGBUILD276
1 files changed, 138 insertions, 138 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fd3327b0528..94db880e50d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ url="http://www.darlinghq.org"
license=('GPL3')
groups=('darling-git')
depends=('xz' 'fuse' 'libxml2' 'icu' 'openssl' 'bzip2' 'zlib' 'libsystemd'
- 'wget' 'curl' 'sqlite' 'ruby' 'sed' 'libarchive' 'file' 'python' 'gawk' 'libunwind') # namcap complains about them
+ 'wget' 'curl' 'sqlite' 'ruby' 'sed' 'libarchive' 'file' 'python' 'gawk' 'libunwind') # namcap complains about them
_depends_x86_64=('lib32-clang' 'lib32-bzip2' 'lib32-systemd' 'lib32-libxslt' 'libpng' 'cairo' 'libtiff' 'glu' 'libbsd' 'python2')
makedepends=('git' 'cmake' 'clang' 'dkms' 'bison' 'flex' 'binutils>=2.28' 'libpng' 'cairo' 'libtiff' 'glu' 'libbsd' 'python2' 'linux-headers')
_make_depends_x86_64=('gcc-multilib')
@@ -132,165 +132,165 @@ md5sums=('d6d3b392245a45c6fb5f82037bfdbd19'
options=('!buildflags')
pkgver() {
- cd "$srcdir/$_gitname"
+ cd "$srcdir/$_gitname"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
- cd "$srcdir/$_gitname"
+ cd "$srcdir/$_gitname"
- echo "Initialize git submodules."
- git submodule init
+ echo "Initialize git submodules."
+ git submodule init
- echo "Updating git submodule paths."
- git config submodule.src/external/DSTools.url "$srcdir/darling-DSTools"
- git config submodule.src/external/DirectoryService.url "$srcdir/darling-DirectoryService"
- git config submodule.src/external/Heimdal.url "$srcdir/darling-Heimdal"
- git config submodule.src/external/IOKitUser.url "$srcdir/darling-iokituser"
- git config submodule.src/external/IONetworkingFamily.url "$srcdir/darling-IONetworkingFamily"
- git config submodule.src/external/IOStorageFamily.url "$srcdir/darling-iostoragefamily"
- git config submodule.src/external/JavaScriptCore.url "$srcdir/darling-JavaScriptCore"
- git config submodule.src/external/SecurityTokend.url "$srcdir/darling-SecurityTokend"
- git config submodule.src/external/SmartCardServices.url "$srcdir/darling-SmartCardServices"
- git config submodule.src/external/TextEdit.url "$srcdir/darling-TextEdit"
- git config submodule.src/external/WTF.url "$srcdir/darling-WTF"
- git config submodule.src/external/WebCore.url "$srcdir/darling-WebCore"
- git config submodule.src/external/adv_cmds.url "$srcdir/darling-adv_cmds"
- git config submodule.src/external/apr.url "$srcdir/darling-apr"
- git config submodule.src/external/awk.url "$srcdir/darling-awk"
- git config submodule.src/external/bash.url "$srcdir/darling-bash"
- git config submodule.src/external/basic_cmds.url "$srcdir/darling-basic_cmds"
- git config submodule.src/external/bc.url "$srcdir/darling-bc"
- git config submodule.src/external/bind9.url "$srcdir/darling-bind9"
- git config submodule.src/external/bmalloc.url "$srcdir/darling-bmalloc"
- git config submodule.src/external/bsm.url "$srcdir/darling-bsm"
- git config submodule.src/external/bzip2.url "$srcdir/darling-bzip2"
- git config submodule.src/external/cctools.url "$srcdir/darling-cctools"
- git config submodule.src/external/cctools-port.url "$srcdir/cctools-port"
- git config submodule.src/external/cfnetwork.url "$srcdir/darling-cfnetwork"
- git config submodule.src/external/cocotron.url "$srcdir/darling-cocotron"
- git config submodule.src/external/commoncrypto.url "$srcdir/darling-commoncrypto"
- git config submodule.src/external/compiler-rt.url "$srcdir/darling-compiler-rt"
- git config submodule.src/external/configd.url "$srcdir/darling-configd"
- git config submodule.src/external/corecrypto.url "$srcdir/darling-corecrypto"
- git config submodule.src/external/corefoundation.url "$srcdir/darling-corefoundation"
- git config submodule.src/external/coretls.url "$srcdir/darling-coretls"
- git config submodule.src/external/crontabs.url "$srcdir/darling-crontabs"
- git config submodule.src/external/curl.url "$srcdir/darling-curl"
- git config submodule.src/external/darling-dmg.url "$srcdir/darling-dmg"
- git config submodule.src/external/doc_cmds.url "$srcdir/darling-doc_cmds"
- git config submodule.src/external/dtrace.url "$srcdir/darling-dtrace"
- git config submodule.src/external/expat.url "$srcdir/darling-expat"
- git config submodule.src/external/file.url "$srcdir/darling-file"
- git config submodule.src/external/file_cmds.url "$srcdir/darling-file_cmds"
- git config submodule.src/external/files.url "$srcdir/darling-files"
- git config submodule.src/external/foundation.url "$srcdir/darling-foundation"
- git config submodule.src/external/gnudiff.url "$srcdir/darling-gnudiff"
- git config submodule.src/external/gnutar.url "$srcdir/darling-gnutar"
- git config submodule.src/external/gpatch.url "$srcdir/darling-gpatch"
- git config submodule.src/external/grep.url "$srcdir/darling-grep"
- git config submodule.src/external/groff.url "$srcdir/darling-groff"
- git config submodule.src/external/icu.url "$srcdir/darling-icu"
- git config submodule.src/external/installer.url "$srcdir/darling-installer"
- git config submodule.src/external/less.url "$srcdir/darling-less"
- git config submodule.src/external/libarchive.url "$srcdir/darling-libarchive"
- git config submodule.src/external/libauto.url "$srcdir/darling-libauto"
- git config submodule.src/external/libclosure.url "$srcdir/darling-libclosure"
- git config submodule.src/external/libcxx.url "$srcdir/darling-libcxx"
- git config submodule.src/external/libcxxabi.url "$srcdir/darling-libcxxabi"
- git config submodule.src/external/libdispatch.url "$srcdir/darling-libdispatch"
- git config submodule.src/external/libkqueue.url "$srcdir/darling-libkqueue"
- git config submodule.src/external/liblzma.url "$srcdir/darling-liblzma"
- git config submodule.src/external/libplatform.url "$srcdir/darling-libplatform"
- git config submodule.src/external/libpthread.url "$srcdir/darling-libpthread"
- git config submodule.src/external/libtelnet.url "$srcdir/darling-libtelnet"
- git config submodule.src/external/libxml2.url "$srcdir/darling-libxml2"
- git config submodule.src/external/libxpc.url "$srcdir/darling-libxpc"
- git config submodule.src/external/libxslt.url "$srcdir/darling-libxslt"
- git config submodule.src/external/mail_cmds.url "$srcdir/darling-mail_cmds"
- git config submodule.src/external/man.url "$srcdir/darling-man"
- git config submodule.src/external/misc_cmds.url "$srcdir/darling-misc_cmds"
- git config submodule.src/external/nano.url "$srcdir/darling-nano"
- git config submodule.src/external/network_cmds.url "$srcdir/darling-network_cmds"
- git config submodule.src/external/objc4.url "$srcdir/darling-objc4"
- git config submodule.src/external/openpam.url "$srcdir/darling-openpam"
- git config submodule.src/external/openssh.url "$srcdir/darling-openssh"
- git config submodule.src/external/openssl.url "$srcdir/darling-openssl"
- git config submodule.src/external/openssl_certificates.url "$srcdir/darling-openssl_certificates"
- git config submodule.src/external/patch_cmds.url "$srcdir/darling-patch_cmds"
- git config submodule.src/external/pcre.url "$srcdir/darling-pcre"
- git config submodule.src/external/perl.url "$srcdir/darling-perl"
- git config submodule.src/external/python.url "$srcdir/darling-python"
- git config submodule.src/external/python_modules.url "$srcdir/darling-python_modules"
- git config submodule.src/external/remote_cmds.url "$srcdir/darling-remote_cmds"
- git config submodule.src/external/ruby.url "$srcdir/darling-ruby"
- git config submodule.src/external/screen.url "$srcdir/darling-screen"
- git config submodule.src/external/security.url "$srcdir/darling-security"
- git config submodule.src/external/shell_cmds.url "$srcdir/darling-shell_cmds"
- git config submodule.src/external/sqlite.url "$srcdir/darling-sqlite"
- git config submodule.src/external/syslog.url "$srcdir/darling-syslog"
- git config submodule.src/external/system_cmds.url "$srcdir/darling-system_cmds"
- git config submodule.src/external/tcsh.url "$srcdir/darling-tcsh"
- git config submodule.src/external/text_cmds.url "$srcdir/darling-text_cmds"
- git config submodule.src/external/top.url "$srcdir/darling-top"
- git config submodule.src/external/vim.url "$srcdir/darling-vim"
- git config submodule.src/external/xcbuild.url "$srcdir/xcbuild"
- git config submodule.src/external/zip.url "$srcdir/darling-zip"
- git config submodule.src/external/zlib.url "$srcdir/darling-zlib"
- git config submodule.src/external/zsh.url "$srcdir/darling-zsh"
- git config submodule.src/lkm.url "$srcdir/darling-newlkm"
+ echo "Updating git submodule paths."
+ git config submodule.src/external/DSTools.url "$srcdir/darling-DSTools"
+ git config submodule.src/external/DirectoryService.url "$srcdir/darling-DirectoryService"
+ git config submodule.src/external/Heimdal.url "$srcdir/darling-Heimdal"
+ git config submodule.src/external/IOKitUser.url "$srcdir/darling-iokituser"
+ git config submodule.src/external/IONetworkingFamily.url "$srcdir/darling-IONetworkingFamily"
+ git config submodule.src/external/IOStorageFamily.url "$srcdir/darling-iostoragefamily"
+ git config submodule.src/external/JavaScriptCore.url "$srcdir/darling-JavaScriptCore"
+ git config submodule.src/external/SecurityTokend.url "$srcdir/darling-SecurityTokend"
+ git config submodule.src/external/SmartCardServices.url "$srcdir/darling-SmartCardServices"
+ git config submodule.src/external/TextEdit.url "$srcdir/darling-TextEdit"
+ git config submodule.src/external/WTF.url "$srcdir/darling-WTF"
+ git config submodule.src/external/WebCore.url "$srcdir/darling-WebCore"
+ git config submodule.src/external/adv_cmds.url "$srcdir/darling-adv_cmds"
+ git config submodule.src/external/apr.url "$srcdir/darling-apr"
+ git config submodule.src/external/awk.url "$srcdir/darling-awk"
+ git config submodule.src/external/bash.url "$srcdir/darling-bash"
+ git config submodule.src/external/basic_cmds.url "$srcdir/darling-basic_cmds"
+ git config submodule.src/external/bc.url "$srcdir/darling-bc"
+ git config submodule.src/external/bind9.url "$srcdir/darling-bind9"
+ git config submodule.src/external/bmalloc.url "$srcdir/darling-bmalloc"
+ git config submodule.src/external/bsm.url "$srcdir/darling-bsm"
+ git config submodule.src/external/bzip2.url "$srcdir/darling-bzip2"
+ git config submodule.src/external/cctools.url "$srcdir/darling-cctools"
+ git config submodule.src/external/cctools-port.url "$srcdir/cctools-port"
+ git config submodule.src/external/cfnetwork.url "$srcdir/darling-cfnetwork"
+ git config submodule.src/external/cocotron.url "$srcdir/darling-cocotron"
+ git config submodule.src/external/commoncrypto.url "$srcdir/darling-commoncrypto"
+ git config submodule.src/external/compiler-rt.url "$srcdir/darling-compiler-rt"
+ git config submodule.src/external/configd.url "$srcdir/darling-configd"
+ git config submodule.src/external/corecrypto.url "$srcdir/darling-corecrypto"
+ git config submodule.src/external/corefoundation.url "$srcdir/darling-corefoundation"
+ git config submodule.src/external/coretls.url "$srcdir/darling-coretls"
+ git config submodule.src/external/crontabs.url "$srcdir/darling-crontabs"
+ git config submodule.src/external/curl.url "$srcdir/darling-curl"
+ git config submodule.src/external/darling-dmg.url "$srcdir/darling-dmg"
+ git config submodule.src/external/doc_cmds.url "$srcdir/darling-doc_cmds"
+ git config submodule.src/external/dtrace.url "$srcdir/darling-dtrace"
+ git config submodule.src/external/expat.url "$srcdir/darling-expat"
+ git config submodule.src/external/file.url "$srcdir/darling-file"
+ git config submodule.src/external/file_cmds.url "$srcdir/darling-file_cmds"
+ git config submodule.src/external/files.url "$srcdir/darling-files"
+ git config submodule.src/external/foundation.url "$srcdir/darling-foundation"
+ git config submodule.src/external/gnudiff.url "$srcdir/darling-gnudiff"
+ git config submodule.src/external/gnutar.url "$srcdir/darling-gnutar"
+ git config submodule.src/external/gpatch.url "$srcdir/darling-gpatch"
+ git config submodule.src/external/grep.url "$srcdir/darling-grep"
+ git config submodule.src/external/groff.url "$srcdir/darling-groff"
+ git config submodule.src/external/icu.url "$srcdir/darling-icu"
+ git config submodule.src/external/installer.url "$srcdir/darling-installer"
+ git config submodule.src/external/less.url "$srcdir/darling-less"
+ git config submodule.src/external/libarchive.url "$srcdir/darling-libarchive"
+ git config submodule.src/external/libauto.url "$srcdir/darling-libauto"
+ git config submodule.src/external/libclosure.url "$srcdir/darling-libclosure"
+ git config submodule.src/external/libcxx.url "$srcdir/darling-libcxx"
+ git config submodule.src/external/libcxxabi.url "$srcdir/darling-libcxxabi"
+ git config submodule.src/external/libdispatch.url "$srcdir/darling-libdispatch"
+ git config submodule.src/external/libkqueue.url "$srcdir/darling-libkqueue"
+ git config submodule.src/external/liblzma.url "$srcdir/darling-liblzma"
+ git config submodule.src/external/libplatform.url "$srcdir/darling-libplatform"
+ git config submodule.src/external/libpthread.url "$srcdir/darling-libpthread"
+ git config submodule.src/external/libtelnet.url "$srcdir/darling-libtelnet"
+ git config submodule.src/external/libxml2.url "$srcdir/darling-libxml2"
+ git config submodule.src/external/libxpc.url "$srcdir/darling-libxpc"
+ git config submodule.src/external/libxslt.url "$srcdir/darling-libxslt"
+ git config submodule.src/external/mail_cmds.url "$srcdir/darling-mail_cmds"
+ git config submodule.src/external/man.url "$srcdir/darling-man"
+ git config submodule.src/external/misc_cmds.url "$srcdir/darling-misc_cmds"
+ git config submodule.src/external/nano.url "$srcdir/darling-nano"
+ git config submodule.src/external/network_cmds.url "$srcdir/darling-network_cmds"
+ git config submodule.src/external/objc4.url "$srcdir/darling-objc4"
+ git config submodule.src/external/openpam.url "$srcdir/darling-openpam"
+ git config submodule.src/external/openssh.url "$srcdir/darling-openssh"
+ git config submodule.src/external/openssl.url "$srcdir/darling-openssl"
+ git config submodule.src/external/openssl_certificates.url "$srcdir/darling-openssl_certificates"
+ git config submodule.src/external/patch_cmds.url "$srcdir/darling-patch_cmds"
+ git config submodule.src/external/pcre.url "$srcdir/darling-pcre"
+ git config submodule.src/external/perl.url "$srcdir/darling-perl"
+ git config submodule.src/external/python.url "$srcdir/darling-python"
+ git config submodule.src/external/python_modules.url "$srcdir/darling-python_modules"
+ git config submodule.src/external/remote_cmds.url "$srcdir/darling-remote_cmds"
+ git config submodule.src/external/ruby.url "$srcdir/darling-ruby"
+ git config submodule.src/external/screen.url "$srcdir/darling-screen"
+ git config submodule.src/external/security.url "$srcdir/darling-security"
+ git config submodule.src/external/shell_cmds.url "$srcdir/darling-shell_cmds"
+ git config submodule.src/external/sqlite.url "$srcdir/darling-sqlite"
+ git config submodule.src/external/syslog.url "$srcdir/darling-syslog"
+ git config submodule.src/external/system_cmds.url "$srcdir/darling-system_cmds"
+ git config submodule.src/external/tcsh.url "$srcdir/darling-tcsh"
+ git config submodule.src/external/text_cmds.url "$srcdir/darling-text_cmds"
+ git config submodule.src/external/top.url "$srcdir/darling-top"
+ git config submodule.src/external/vim.url "$srcdir/darling-vim"
+ git config submodule.src/external/xcbuild.url "$srcdir/xcbuild"
+ git config submodule.src/external/zip.url "$srcdir/darling-zip"
+ git config submodule.src/external/zlib.url "$srcdir/darling-zlib"
+ git config submodule.src/external/zsh.url "$srcdir/darling-zsh"
+ git config submodule.src/lkm.url "$srcdir/darling-newlkm"
- echo "Updating git submodules"
- git submodule update
+ echo "Updating git submodules"
+ git submodule update
- echo "Creating build directory."
- mkdir -pv "build"
+ echo "Creating build directory."
+ mkdir -pv "build"
}
build() {
- cd "$srcdir/$_gitname/build"
+ cd "$srcdir/$_gitname/build"
- echo "Running cmake."
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+ echo "Running cmake."
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
- echo "Running make."
- make -j$(getconf _NPROCESSORS_ONLN)
+ echo "Running make."
+ make
- echo "Run 'make lkm'..."
- make lkm -j$(getconf _NPROCESSORS_ONLN)
+ echo "Run 'make lkm'..."
+ make lkm
}
package_darling-git() {
- install=darling-git.install
- depends=('darling-mach-dkms-git')
- conflicts=('darling')
+ install=darling-git.install
+ depends=('darling-mach-dkms-git')
+ conflicts=('darling')
- cd "$srcdir/$_gitname/build"
- make DESTDIR="$pkgdir" install
- install -Dvm755 "$srcdir/$_gitname/src/setup-ld-so.sh" "$pkgdir/usr/bin/darling-setup-ld-so"
+ cd "$srcdir/$_gitname/build"
+ make DESTDIR="$pkgdir" install
+ install -Dvm755 "$srcdir/$_gitname/src/setup-ld-so.sh" "$pkgdir/usr/bin/darling-setup-ld-so"
}
package_darling-mach-dkms-git() {
- depends=('dkms')
- conflicts=('darling-mach-dkms')
- optdepends=('linux-headers: build modules against the Arch kernel'
- 'linux-lts-headers: build modules against the LTS kernel'
- 'linux-zen-headers: build modules against the ZEN kernel'
- 'linux-grsec-headers: build modules against the GRSEC kernel')
- _srcdest="$pkgdir/usr/src/darling-mach-$pkgver"
- _srcinstalldest="/usr/src/darling-mach-$pkgver"
+ depends=('dkms')
+ conflicts=('darling-mach-dkms')
+ optdepends=('linux-headers: build modules against the Arch kernel'
+ 'linux-lts-headers: build modules against the LTS kernel'
+ 'linux-zen-headers: build modules against the ZEN kernel'
+ 'linux-grsec-headers: build modules against the GRSEC kernel')
+ _srcdest="$pkgdir/usr/src/darling-mach-$pkgver"
+ _srcinstalldest="/usr/src/darling-mach-$pkgver"
- echo "Install module sources for DKMS."
- install -dm755 $(dirname "$_srcdest")
- cp -r "$srcdir/$_gitname/src/lkm" "$_srcdest"
- cp -r "$srcdir/$_gitname/build/src/lkm" "$_srcdest/migdir"
+ echo "Install module sources for DKMS."
+ install -dm755 $(dirname "$_srcdest")
+ cp -r "$srcdir/$_gitname/src/lkm" "$_srcdest"
+ cp -r "$srcdir/$_gitname/build/src/lkm" "$_srcdest/migdir"
- # Copy missing header rtsig.h
- cp "$srcdir/$_gitname/build/src/startup/rtsig.h" "$_srcdest/include"
+ # Copy missing header rtsig.h
+ cp "$srcdir/$_gitname/build/src/startup/rtsig.h" "$_srcdest/include"
- echo "Set configuration for DKMS..."
- install -Dm644 "$srcdir/dkms.conf" "$_srcdest"
- sed -i "s|@PKGVER@|$pkgver|g" "$_srcdest/dkms.conf"
- sed -i "s|@SRCDEST@|$_srcinstalldest|g" "$_srcdest/dkms.conf"
+ echo "Set configuration for DKMS..."
+ install -Dm644 "$srcdir/dkms.conf" "$_srcdest"
+ sed -i "s|@PKGVER@|$pkgver|g" "$_srcdest/dkms.conf"
+ sed -i "s|@SRCDEST@|$_srcinstalldest|g" "$_srcdest/dkms.conf"
}