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
autoreconf --force --install
]]>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...