PKGBUILDs/community/videothumbnail/PKGBUILD
2009-10-09 21:15:33 -05:00

25 lines
911 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
pkgname=videothumbnail
pkgver=0.1.14
pkgrel=1
pkgdesc="Helper program for ROX-Filer that provides images for video files"
arch=('i686' 'x86_64')
url="http://www.kerofin.demon.co.uk/rox/VideoThumbnail.html"
license=('GPL2')
depends=('rox' 'rox-lib' 'mplayer')
install=videothumbnail.install
source=(http://www.kerofin.demon.co.uk/rox/VideoThumbnail-$pkgver.tar.gz)
md5sums=('f3d9a0e6f5bd431b33df1163a0b9e58c')
build() {
mkdir -p $startdir/pkg/usr/share
cp -rp VideoThumbnail $startdir/pkg/usr/share
# create a shellscript which is known in the PATH
mkdir -p $startdir/pkg/usr/bin
echo "#!/bin/sh" > "$startdir/pkg/usr/bin/videothumbnail"
echo "exec /usr/share/VideoThumbnail/AppRun \"\$@\"" >> "$startdir/pkg/usr/bin/videothumbnail"
chmod 755 $startdir/pkg/usr/bin/videothumbnail
}