Initial upload: motionplus 0.1.1-1

This commit is contained in:
2023-05-26 09:27:18 +02:00
parent 204bd73707
commit afdab13777
3 changed files with 96 additions and 0 deletions

34
motionplus/PKGBUILD Normal file
View File

@@ -0,0 +1,34 @@
# Maintainer: Giovanni Harting <539@idlegandalf.com>
pkgname=motionplus
pkgver=0.1.1
pkgrel=1
pkgdesc="Monitor and record video signals from many types of cameras"
arch=('x86_64')
license=('GPL')
url="https://github.com/Motion-Project/motionplus"
conflicts=(motion motion-git)
depends=('sqlite' 'ffmpeg' 'libmicrohttpd' 'libwebp' 'postgresql-libs' 'mariadb-libs')
optdepends=('gettext: native language support')
backup=('etc/motionplus/motionplus.conf')
source=("https://github.com/Motion-Project/motionplus/archive/refs/tags/release-0.1.1.tar.gz"
'motionplus.service')
b2sums=('7fcc10bc87948108141acb3f3b4d8ca1759b365c3a220e0eb8c0ff92cf0091e50737ac6a70ee0b18263f3c012b9ae197d026ece049fc2c79ff194b96fc9a8dfc'
'4cfb2e9e3429e3ccd014f7bfa7a8ee27f0c3494a3c902d857893ae09a7a7c2fbdef6799c477302e41d47b87692e6827ec7a10bf66b9dca1f66833a96b9e0634a')
build() {
cd $pkgname-release-$pkgver
export TEMP_LDFLAGS="$LDFLAGS"
autoreconf -fi
./configure --prefix=/usr \
--sysconfdir=/etc
make
}
package(){
cd $pkgname-release-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 data/motionplus-dist.conf "$pkgdir"/etc/motionplus/motionplus.conf
install -Dm644 "$srcdir"/motionplus.service "$pkgdir"/usr/lib/systemd/system/motionplus.service
}