diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/fswebcam |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/fswebcam')
-rw-r--r-- | community/fswebcam/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/community/fswebcam/PKGBUILD b/community/fswebcam/PKGBUILD new file mode 100644 index 000000000..797cca000 --- /dev/null +++ b/community/fswebcam/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 37156 2011-01-11 17:12:18Z ttopper $ +# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> +# Contributor: SpepS <dreamspepser at yahoo dot it> +# Contributor: Philipp Robbel <robbel@gmail.com> + +pkgname=fswebcam +pkgver=20101118 +pkgrel=1 +pkgdesc="Tiny and flexible webcam app." +arch=('i686' 'x86_64') +url="http://www.firestorm.cx/fswebcam" +license=('GPL') +depends=('gd') +backup=("etc/$pkgname.conf") +source=("$url/files/$pkgname-$pkgver.tar.gz") +md5sums=('b4be05ed7c728c68424e947ed452b29f') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install + + # Install configuration file + # Commented to avoid problems with many devices, thank you SpepS + sed "s_^_#_g" -i example.conf + install -Dm644 example.conf "$pkgdir/etc/fswebcam.conf" +} + +# vim:ts=2:sw=2:expandtab |