# Maintainer: PktSurf app=libgphoto2 version=2.5.25 build=1sml homepage="http://www.gphoto.org/" download="https://github.com/gphoto/libgphoto2/archive/refs/tags/v$version.tar.gz" desc="Digital camera access library" requires="libexif libtool" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions } build() { ./configure \ --prefix=/usr \ --disable-static make # install udev helper scripts make udevscriptdir=/usr/lib/udev utilsdir=/usr/bin make udevscriptdir=/usr/lib/udev utilsdir=/usr/bin install DESTDIR=$pkg cp COPYING $pkgdocs/ mkfinalpkg } sha512sums=" f48b9360f89458cd8a7ac7675e007e9809b30864b7d2275473136c97f022ac370d19e7f6c15a4bcc558caae9a4cd787ada1f01d08761ec1d19836525e4e7f5ad libgphoto2-2.5.25.tar.lz "