diff options
Diffstat (limited to 'testing/lldb/APKBUILD')
-rw-r--r-- | testing/lldb/APKBUILD | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/testing/lldb/APKBUILD b/testing/lldb/APKBUILD index eb5a39029e..18898015eb 100644 --- a/testing/lldb/APKBUILD +++ b/testing/lldb/APKBUILD @@ -4,10 +4,10 @@ pkgname=lldb pkgver=3.8.1 pkgrel=0 -pkgdesc='Next generation, high-performance debugger' -arch='all' -url='http://llvm.org/' -license='UOI-NCSA' +pkgdesc="Next generation, high-performance debugger" +arch="all" +url="http://llvm.org/" +license="UOI-NCSA" makedepends="clang clang-libs clang-dev cmake doxygen libedit-dev libffi-dev libxml2-dev linux-headers llvm llvm-libs llvm-dev llvm-static ncurses-dev ninja python-dev swig" @@ -15,9 +15,9 @@ subpackages="$pkgname-dev py-$pkgname:py $pkgname-libs" source="http://llvm.org/releases/$pkgver/lldb-$pkgver.src.tar.xz lldb-3.8-alpine.patch D15067.id41365.patch" +builddir="$srcdir/build" -builddir="$srcdir"/build -_srcdir="$srcdir"/lldb-$pkgver.src +_srcdir="$srcdir/lldb-$pkgver.src" prepare() { local builddir="$_srcdir" @@ -32,10 +32,9 @@ build() { -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLLVM_LINK_LLVM_DYLIB:BOOL=ON \ - "${_srcdir}" || return 1 + "$_srcdir" || return 1 ninja || return 1 - } package() { @@ -44,10 +43,10 @@ package() { } py() { - depends='py-six' + depends="py-six" mkdir -p "$subpkgdir/usr/lib" - mv "$pkgdir/usr/lib/python2.7" "$subpkgdir/usr/lib" + mv "$pkgdir/usr/lib/python2.7" "$subpkgdir/usr/lib" || return 1 rm "$subpkgdir/usr/lib/python2.7/site-packages/six.py" |