You are not logged in.
Hi,
I've created a PKGBUILD for image editor GNOME Niepce, but at this time it doesn't build because it's unable to find a configure-file in the source directory. I've browsed through the different pages in the Wiki and compared the file with similar PKGBUILDs, but so far without any luck. Does anyone have an idea what might go wrong?
Thanks in advance!
Kind regards!
PKGBUILD:
pkgname=niepce
pkgver=r76742c08
pkgrel=1
pkgdesc='Niepce Digital is a digital photography software'
arch=('x86_64')
url='https://gitlab.gnome.org/GNOME/niepce'
license=('LGPL2.1')
depends=('rust' 'gtk3' 'cairo' 'glibmm' 'gtkmm3'
'libchamplain' 'sqlite' 'libxml2' 'boost' 'exempi' 'libopenraw'
'gegl' 'babl' 'libgphoto2' 'libgexiv2')
makedepends=('git' 'intltool')
provides=('niepce')
conflicts=('niepce')
source=('niepce::git+https://gitlab.gnome.org/GNOME/niepce.git')
sha256sums=('SKIP')
build() {
cd "$srcdir/niepce"
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --libexecdir=/usr/lib/$_pkgname
make
}
package() {
cd "$srcdir/niepce"
make DESTDIR="$pkgdir" install
}
makepkg fails with following error:
==> Making package: niepce r76742c08-1
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating niepce git repo...
Fetching origin
==> Validating source files with sha256sums...
niepce ... Skipped
==> Extracting sources...
-> Creating working copy of niepce git repo...
Reset branch 'makepkg'
==> Removing existing $pkgdir/ directory...
==> Starting build()...
/home/wesley/Total/new/niepce/PKGBUILD: line 19: ./configure: No such file or directory
==> ERROR: A failure occurred in build().
Aborting...
Last edited by VenomGameworld (2019-01-28 22:15:45)
Offline
autoreconf --force --install
Offline
Thanks!
I've added this command to the prepare-phase of the PKGBUILD and now it builds nicely.
Offline
Please remember to mark your thread [SOLVED] (edit the title of your first post).
How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.
Offline
source=('niepce::git+https://gitlab.gnome.org/GNOME/niepce.git')
packages building from git master should append -git to the pkgname and are required to have a pkgver() function .
see https://wiki.archlinux.org/index.php/VC … guidelines
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Thanks, I will edit it as described in the guidelines.
Offline