diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-01-28 01:05:30 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-01-28 01:05:30 +0100 |
commit | 10fef620753dfd9d0cf32e8cfb9f1e8b78c480ab (patch) | |
tree | a55e84c0e2a0e52ee9316bb6ada9c63ae64a94d9 /testing/lablgtk/APKBUILD | |
parent | 57a25815af1526d4f0fd63249a4a2c36fb54d0e5 (diff) | |
download | aports-10fef620753dfd9d0cf32e8cfb9f1e8b78c480ab.tar.bz2 aports-10fef620753dfd9d0cf32e8cfb9f1e8b78c480ab.tar.xz |
testing/lablgtk: fix code-style
Diffstat (limited to 'testing/lablgtk/APKBUILD')
-rw-r--r-- | testing/lablgtk/APKBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/testing/lablgtk/APKBUILD b/testing/lablgtk/APKBUILD index 949677a2d7..4da685341e 100644 --- a/testing/lablgtk/APKBUILD +++ b/testing/lablgtk/APKBUILD @@ -11,25 +11,25 @@ depends_dev="lablgtk" depends="ocaml-findlib camlp4 ocaml gtk+-dev gtkspell-dev librsvg-dev gtksourceview2-dev" makedepends="$depends" -install="" subpackages="$pkgname-doc $pkgname-dev" source="https://forge.ocamlcore.org/frs/download.php/1627/lablgtk-$pkgver.tar.gz" builddir="$srcdir/lablgtk-$pkgver" build() { cd "$builddir" + ./configure --prefix=/usr || return 1 make world || return 1 make opt || return 1 make doc || return 1 } - doc() { - pkgdesc="$pkgdesc (documentation)" - _docdir="$subpkgdir"/usr/share/doc/$pkgname/ - mkdir -p "$_docdir" - cp -r "$builddir"/doc/html/* "$_docdir" + pkgdesc="$pkgdesc (documentation)" + + local docdir="$subpkgdir"/usr/share/doc/$pkgname/ + mkdir -p "$docdir" + cp -r "$builddir"/doc/html/* "$docdir"/ } package() { |