diff options
Diffstat (limited to 'multimedia/kino/kino.SlackBuild')
-rw-r--r-- | multimedia/kino/kino.SlackBuild | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/multimedia/kino/kino.SlackBuild b/multimedia/kino/kino.SlackBuild index d98936e293..8465fa5109 100644 --- a/multimedia/kino/kino.SlackBuild +++ b/multimedia/kino/kino.SlackBuild @@ -2,6 +2,8 @@ # # Pierre Cazenave (LQ.org pwc101) # revision date 11/11/2007 (Armistice Day) +# re-revised for 12.2 and new udev locations on 23/12/2008 (day before +# Christmas Eve!). # # I have set the -enable-local-ffmpeg option since I can't figure # out how to get the ffmpeg subdirectory configure script to be @@ -20,7 +22,7 @@ PRGNAM=kino VERSION=1.3.2 ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -73,8 +75,11 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done ) -# Give the udev rules a number prefix to be consistent with other rules files -mv $PKG/etc/udev/rules.d/kino.rules $PKG/etc/udev/rules.d/96-kino.rules +# Give the udev rules a number prefix to be consistent with other rules files +# and move to the new location for 12.2; then remove $PKG/etc directory +mkdir -p $PKG/lib/udev/rules.d +mv $PKG/etc/udev/rules.d/kino.rules $PKG/lib/udev/rules.d/96-kino.rules +rm -rf $PKG/etc mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ChangeLog AUTHORS BUGS COPYING INSTALL NEWS README TODO help/ \ @@ -82,7 +87,7 @@ cp -a ChangeLog AUTHORS BUGS COPYING INSTALL NEWS README TODO help/ \ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; -# Fix a few things... +# Fix incorrect ownership/permissions on help directory (from sshd to root). chown -R root:root $PKG/usr/share/kino/help find $PKG/usr/share/kino/help/en -type d -exec chmod 0755 {} \; find $PKG/usr/share/kino/help/en -type f -exec chmod 0644 {} \; |