summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Macabies2018-04-30 13:33:20 +0200
committerAlexandre Macabies2018-04-30 13:33:20 +0200
commit1ad9044b1504c019779cb3da4f4d10e7a3d39377 (patch)
tree3dc7a5207d2236c54d8d0f0a18045781de99d16e
parentf841e59db3f01cb5cdc5f342585dc5279b20a35d (diff)
downloadaur-1ad9044b1504c019779cb3da4f4d10e7a3d39377.tar.gz
Add missing dependencies
The package now builds successfully.
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD45
2 files changed, 37 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4bac61dece8..f8a4952eab0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -22,14 +22,18 @@ pkgbase = gn-git
source = git+https://chromium.googlesource.com/chromium/src/build
source = git+https://chromium.googlesource.com/chromium/src/build/config
source = git+https://chromium.googlesource.com/chromium/testing/gtest
+ source = git+https://chromium.googlesource.com/chromium/llvm-project/libcxx
+ source = git+https://chromium.googlesource.com/chromium/llvm-project/libcxxabi
source = LICENSE
- sha512sums = SKIP
- sha512sums = SKIP
- sha512sums = SKIP
- sha512sums = SKIP
- sha512sums = SKIP
- sha512sums = SKIP
- sha512sums = SKIP
+ sha1sums = SKIP
+ sha1sums = SKIP
+ sha1sums = SKIP
+ sha1sums = SKIP
+ sha1sums = SKIP
+ sha1sums = SKIP
+ sha1sums = SKIP
+ sha1sums = SKIP
+ sha1sums = 5548778e53b16da694f02b4716c9b3678e63305a
pkgname = gn-git
diff --git a/PKGBUILD b/PKGBUILD
index 28cc29b3af0..d99e5fe629f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
# Maintainer: Adrián Pérez de Castro <aperez@igalia.com>
+# Maintainer: Alexandre Macabies <web+oss@zopieux.com>
#
# Inspiration for this PKGBUILD:
# https://gist.github.com/mohamed/4fa7eb75807463d4dfa3
@@ -6,7 +7,7 @@
pkgname='gn-git'
pkgdesc='Meta-build system which generates Ninja build files'
pkgver=r1314.3200906
-pkgrel=1
+pkgrel=2
license=('BSD')
arch=('x86_64' 'i686')
conflicts=('gn-bin')
@@ -15,21 +16,25 @@ depends=('glibc' 'gcc-libs')
makedepends=('python2')
source=(
'https://chromium.googlesource.com/chromium/chromium/+archive/master/third_party/libevent.tar.gz'
- "git+https://chromium.googlesource.com/chromium/src/tools/gn"
- "git+https://chromium.googlesource.com/chromium/src/base"
- "git+https://chromium.googlesource.com/chromium/src/build"
- "git+https://chromium.googlesource.com/chromium/src/build/config"
- "git+https://chromium.googlesource.com/chromium/testing/gtest"
+ 'git+https://chromium.googlesource.com/chromium/src/tools/gn'
+ 'git+https://chromium.googlesource.com/chromium/src/base'
+ 'git+https://chromium.googlesource.com/chromium/src/build'
+ 'git+https://chromium.googlesource.com/chromium/src/build/config'
+ 'git+https://chromium.googlesource.com/chromium/testing/gtest'
+ 'git+https://chromium.googlesource.com/chromium/llvm-project/libcxx'
+ 'git+https://chromium.googlesource.com/chromium/llvm-project/libcxxabi'
LICENSE
)
noextract=('libevent.tar.gz' 'gn' 'base' 'build' 'config' 'gtest')
-sha512sums=('SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP')
+sha1sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ '5548778e53b16da694f02b4716c9b3678e63305a')
prepare () {
rm -rf "${srcdir}/work"
@@ -38,12 +43,14 @@ prepare () {
tar -xzf "${srcdir}/libevent.tar.gz" -C "${srcdir}/work/third_party/libevent"
# Shuffle things around a bit to put everything where it is suppossed to be
- mkdir -p "${srcdir}/work"/{tools,testing}
- mv "${srcdir}/gn" "${srcdir}/work/tools"
- mv "${srcdir}/base" "${srcdir}/work"
- mv "${srcdir}/build" "${srcdir}/work"
- mv "${srcdir}/config" "${srcdir}/work"
- mv "${srcdir}/gtest" "${srcdir}/work/testing"
+ mkdir -p "${srcdir}/work"/{tools,testing,buildtools/third_party/libc++{,abi}}
+ mv "${srcdir}/base" "${srcdir}/work"
+ mv "${srcdir}/build" "${srcdir}/work"
+ mv "${srcdir}/config" "${srcdir}/work"
+ mv "${srcdir}/gn" "${srcdir}/work/tools"
+ mv "${srcdir}/gtest" "${srcdir}/work/testing"
+ mv "${srcdir}/libcxx" "${srcdir}/work/buildtools/third_party/libc++/trunk"
+ mv "${srcdir}/libcxxabi" "${srcdir}/work/buildtools/third_party/libc++abi/trunk"
}
pkgver () {