aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lldb
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-08-29 01:01:23 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-08-29 11:12:52 +0200
commit34b5ddad1e811119825ca579c615f9b969ed8521 (patch)
tree3dd1e343e7ebbe37c5e028a0c0280431bef2d07f /testing/lldb
parentf411c0c447ba33762165c91002ef40597cb09828 (diff)
downloadaports-34b5ddad1e811119825ca579c615f9b969ed8521.tar.bz2
aports-34b5ddad1e811119825ca579c615f9b969ed8521.tar.xz
testing/lldb: fix abuild code-style
Diffstat (limited to 'testing/lldb')
-rw-r--r--testing/lldb/APKBUILD19
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"