aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/fswebcam/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/fswebcam/APKBUILD')
-rw-r--r--unmaintained/fswebcam/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/unmaintained/fswebcam/APKBUILD b/unmaintained/fswebcam/APKBUILD
new file mode 100644
index 0000000000..90787a1bdc
--- /dev/null
+++ b/unmaintained/fswebcam/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=fswebcam
+pkgver=20140113
+pkgrel=0
+pkgdesc="A neat and simple webcam app"
+url="http://www.firestorm.cx/fswebcam"
+arch="all"
+license="GPL2"
+depends=""
+depends_dev="gd-dev gzip"
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://www.firestorm.cx/$pkgname/files/$pkgname-$pkgver.tar.xz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+ sed "s_^_#_g" -i example.conf
+ install -Dm644 example.conf "$pkgdir/etc/fswebcam.conf"
+}
+
+md5sums="1bfdb21904e816f100370ec8f4df986b fswebcam-20140113.tar.xz"
+sha256sums="444d6a8a82102e09e935540c64a731021de36db03e1e74181f41ca6f39aa6474 fswebcam-20140113.tar.xz"
+sha512sums="eb7a40da546ac413dd7783ccd808d70fc4117b6334a6ba6626d2af4a130e35597652328117333961af66a9c1e578cdb1c313b286fa728313820160544c5a43cb fswebcam-20140113.tar.xz"