diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/fswebcam | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
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..2fa49872d --- /dev/null +++ b/community/fswebcam/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 93773 2013-07-10 07:27:13Z bpiotrowski $ +# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> +# Contributor: SpepS <dreamspepser at yahoo dot it> +# Contributor: Philipp Robbel <robbel@gmail.com> + +pkgname=fswebcam +pkgver=20110717 +pkgrel=3 +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=('6e09f1f31cf7cd0ac1d4d688a0acbe41') + +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 |