# Maintainer: PktSurf app=motion version=4.5.1 build=1sml homepage="https://motion-project.github.io/" download="https://github.com/Motion-Project/motion/archive/refs/tags/release-$version.tar.gz" desc="Software-based camera motion detection utility" requires="bzip2 zlib gnutls sqlite libidn libtasn1 nettle libmicrohttpd libxext dbus sdl2 libwebp ffmpeg" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version autoreconf -vif fixbuilddirpermissions } build() { ./configure \ --prefix=/usr \ --sysconfdir=/etc make make install DESTDIR=$pkg cp LICENSE $pkgdocs/ mkfinalpkg } sha512sums=" 99d822131a93fe0244f117284b9b966dc701277d046592af49da05db95a27f92b2d94d83e458e3d56a750e74a89e3c6ebccf8084f1114ec4e6e59af55d50b22f motion-4.5.1.tar.lz "