🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223
pkgname: libdispatch
pkgver: '6.2.2'
pkgrel: '1'
pkgdesc: grand central dispatch, from swift corelibs
url: 'https://github.com/apple/swift-corelibs-libdispatch'
arch: x86_64
depends: []
makedepends:
- llvm
- libbsd
- cmake
- ninja
source:
- 'https://github.com/apple/swift-corelibs-${pkgname}/archive/refs/tags/swift-5.5-RELEASE.tar.gz'
sha256sums:
- 5efdfa1d2897c598acea42fc00776477bb3713645686774f5ff0818b26649e62
build: "find ${pkgname}-${pkgver} -name DispatchCompilerWarnings.cmake\
\ \\\n\t-exec sed -i \"/-Werror/d\" '{}' \\;\ncd ${pkgname}-${pkgver}\nmkdir build\ncd build\ncmake -DCMAKE_C_COMPILER=clang\
\ -DCMAKE_CXX_COMPILER=clang++ \\\n -DCMAKE_BUILD_TYPE=Release \\\n\t-DCMAKE_INSTALL_PREFIX=/usr \\\n\t-DBlocksRuntime_INCLUDE_DIR=/usr/include\
\ \\\n\t-DCMAKE_BUILD_WITH_INSTALL_RPATH=on ../${pkgname}-${pkgver} \\\n -Wno-dev -G Ninja ..\n\nninja\n\nDESTDIR=${PKGDIR}\
\ ninja install\n"
package: |
true