diff options
Diffstat (limited to 'testing/libcypher-parser/APKBUILD')
-rw-r--r-- | testing/libcypher-parser/APKBUILD | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/testing/libcypher-parser/APKBUILD b/testing/libcypher-parser/APKBUILD index 79be7fc4e7..ba7893eb9e 100644 --- a/testing/libcypher-parser/APKBUILD +++ b/testing/libcypher-parser/APKBUILD @@ -14,24 +14,23 @@ install="" subpackages="$pkgname-dev $pkgname-doc::noarch cypher-lint cypher-lint-doc::noarch" source="https://github.com/cleishm/libcypher-parser/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz" -_builddir="$srcdir"/"$pkgname-$pkgver" +builddir="$srcdir"/"$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ - --prefix=/usr \ - || return 1 - make || return 1 - make doc || return 1 + --prefix=/usr + make + make doc } check() { - cd "$_builddir" - make check || return 1 + cd "$builddir" + make check } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install mkdir -p "$pkgdir"/usr/share/doc/libcypher-parser mv doc/html/* "$pkgdir"/usr/share/doc/libcypher-parser/ } |