summaryrefslogtreecommitdiff
path: root/community-testing/motion/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/motion/PKGBUILD')
-rw-r--r--community-testing/motion/PKGBUILD45
1 files changed, 0 insertions, 45 deletions
diff --git a/community-testing/motion/PKGBUILD b/community-testing/motion/PKGBUILD
deleted file mode 100644
index a68b65526..000000000
--- a/community-testing/motion/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# $Id: PKGBUILD 73334 2012-07-06 15:23:12Z ibiru $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-
-pkgname=motion
-pkgver=3.2.12
-pkgrel=6
-pkgdesc="A software motion detector which grabs images from video4linux devices and/or from webcams"
-arch=('i686' 'x86_64')
-license=('GPL')
-url="http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome"
-depends=('libjpeg' 'v4l-utils' 'ffmpeg-compat')
-backup=('etc/motion/motion.conf')
-options=('!makeflags')
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
- rc.motion
- ffmpeg-0.8.patch
- linux-headers.patch
- ffmpeg-compat.patch)
-md5sums=('1ba0065ed50509aaffb171594c689f46'
- '2e8c53c4980edddd420f08fdd572c9be'
- 'd36687710837d69fbce4608b1345fa34'
- 'd8c3c4fdded5cfbd729710475559a21d'
- 'e85c596292aceb425fcf17e5072e2fff')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- export PKG_CONFIG_PATH=/usr/lib/ffmpeg-compat/pkgconfig:$PKG_CONFIG_PATH
- patch -Np1 -i $srcdir/ffmpeg-0.8.patch
- patch -Np1 -i $srcdir/linux-headers.patch
- patch -Np1 -i $srcdir/ffmpeg-compat.patch
- autoreconf
- ./configure --prefix=/usr \
- --without-pgsql \
- --without-mysql \
- --sysconfdir=/etc/motion \
- --with-ffmpeg
- make
-}
-
-package(){
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- mv "${pkgdir}/etc/motion/motion-dist.conf" "${pkgdir}/etc/motion/motion.conf"
- install -Dm755 "${srcdir}/rc.motion" "${pkgdir}/etc/rc.d/motion"
-}