Package Details: connman-ncurses 1.0-2

Git Clone URL: https://aur.archlinux.org/connman-ncurses.git (read-only, click to copy)
Package Base: connman-ncurses
Description: Simple ncurses UI for ConnMan
Upstream URL: https://github.com/eurogiciel-oss/connman-json-client
Keywords: 1.0 connman ncurses UI
Licenses: GPL2
Conflicts: connman-ncurses-git
Submitter: arch
Maintainer: None
Last Packager: dobo
Votes: 8
Popularity: 0.000000
First Submitted: 2015-11-04 12:39 (UTC)
Last Updated: 2015-11-23 19:07 (UTC)

Latest Comments

angelettif commented on 2022-02-10 16:31 (UTC)

Doesnt compile

json_utils.c:84:39: error: ‘FALSE’ undeclared (first use in this function) 84 | if (key_is_trusted == FALSE) | ^~~~~ json_utils.c:84:39: note: each undeclared identifier is reported only once for each function it appears in make[1]: [Makefile:409: json_utils.o] Error 1 make: [Makefile:320: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'connman-ncurses-1.0-2':

dobo commented on 2015-11-22 12:05 (UTC)

Currently it doesn't compile because it fails to clone git repository. You can use release file from github. Moreover, run-me.sh enables creating debug build. 'any' arch can be used only to create packages which don't provide arch-specific binaries (like ELF files). I've fixed those issues. And ncurses is already satisfied by less (which is in 'base' group). Feel free to use it. diff --git a/PKGBUILD b/PKGBUILD index cae828e..0d37fe4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,25 +1,29 @@ # Submitter: Dmitrij Podabed <dmitrij at podabed dot org> # Maintainer: Dmitrij Podabed <dmitrij at podabed dot org> + pkgname=connman-ncurses +_pkgname=connman-json-client pkgver=1.0 pkgrel=1 pkgdesc="Simple ncurses UI for ConnMan" -arch=('any') +arch=(i686 x86_64) url="https://github.com/eurogiciel-oss/connman-json-client" license=('GPL2') -depends=('json-c' 'ncurses' 'connman') -makedepends=('git') -provides=("$pkgname=$pkgver") -source=("git://github.com/eurogiciel-oss/connman-json-client/commit/cb0f024e8741b9d5765a1b6fe85c755dfb1515d7.git") -sha256sums=("SKIP") - -_gitroot="connman-json-client" +depends=('json-c' 'connman') +source=("https://github.com/eurogiciel-oss/${_pkgname}/archive/v${pkgver}.tar.gz") +md5sums=('26f23eaa1828e2d7a45fce94e1a06203') build() { - cd "$srcdir/$_gitroot" - ./run-me.sh + cd "${srcdir}/${_pkgname}-${pkgver}" + + autoreconf -i + # it doesn't compile without --disable-optimization flag + ./configure --prefix='/usr' --disable-optimization + make } package() { - install -Dm733 "$srcdir/$_gitroot/connman_ncurses" "$pkgdir/usr/bin/$_pkgname" -} \ No newline at end of file + cd "${srcdir}/${_pkgname}-${pkgver}" + + install -D -m 755 connman_ncurses "${pkgdir}/usr/bin/${pkgname}" +}