summaryrefslogtreecommitdiff
path: root/community/electricsheep/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/electricsheep/PKGBUILD')
-rw-r--r--community/electricsheep/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/electricsheep/PKGBUILD b/community/electricsheep/PKGBUILD
new file mode 100644
index 000000000..dd4b57014
--- /dev/null
+++ b/community/electricsheep/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 27614 2010-09-26 06:47:20Z ebelanger $
+# Maintainer: Eric Belanger <eric@archlinux.org>
+
+pkgname=electricsheep
+pkgver=2.7b12
+pkgrel=3
+pkgdesc="A screensaver that realize the collective dream of sleeping computers from all over the internet"
+arch=('i686' 'x86_64')
+url="http://community.electricsheep.org/"
+license=('GPL')
+depends=('curl' 'expat' 'flam3' 'ffmpeg' 'mplayer' 'libglade')
+makedepends=('xscreensaver')
+optdepends=('xscreensaver: to use electricsheep with xscreensaver')
+changelog=ChangeLog
+source=(ftp://ftp.archlinux.org/other/electricsheep/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('9c66691538941593ca9442e087b183d1')
+sha1sums=('fd1c307912905ba456189efbb546ef0fe336fa32')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ install -d "${pkgdir}/usr/share/applications/screensavers"
+ install -d "${pkgdir}/usr/lib/gnome-screensaver/gnome-screensaver"
+ make DESTDIR="${pkgdir}" GNOME_SCREENSAVER_DATADIR="${pkgdir}/usr/share/applications/screensavers" \
+ GNOME_SCREENSAVER_PRIVEXEDIR="${pkgdir}/usr/lib/gnome-screensaver/gnome-screensaver" install
+ install -D -m644 electricsheep.desktop.kde "${pkgdir}/usr/share/kde4/services/ScreenSavers/electricsheep.desktop"
+ install -D -m644 electricsheep.xml "${pkgdir}/usr/share/xscreensaver/config/electricsheep.xml"
+ install -D -m755 electricsheep-saver "${pkgdir}/usr/bin/electricsheep-saver"
+}