From 6e5177a84908f79a7d84964dec5e23e78260a306 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Tue, 15 Sep 2015 19:31:54 +0200 Subject: [PATCH] motion: move files to $pkgname --- srcpkgs/motion/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/motion/template b/srcpkgs/motion/template index c2473affb0..a765792740 100644 --- a/srcpkgs/motion/template +++ b/srcpkgs/motion/template @@ -1,7 +1,7 @@ # Template file for 'motion' pkgname=motion version=3.2.12+20140318 -revision=1 +revision=2 build_style=gnu-configure hostmakedepends="automake" makedepends="v4l-utils-devel zlib-devel" @@ -23,3 +23,8 @@ fi pre_configure() { autoreconf -fi } + +post_install() { + mv $DESTDIR/usr/share/motion* $DESTDIR/usr/share/motion + mv $DESTDIR/usr/share/doc/motion* $DESTDIR/usr/share/doc/motion +}