diff options
author | root <root@rshg054.dnsready.net> | 2013-05-07 00:36:35 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-07 00:36:35 -0700 |
commit | da0a0d88caa1bf934ebf314ef86e15928dbb027b (patch) | |
tree | b7c57ac9667de10c72390e0d81654fffbe47c42d /community/electricsheep/PKGBUILD | |
parent | ffb692bf2696e7ebedd19bcd55ba253e21cb732d (diff) |
Tue May 7 00:36:35 PDT 2013
Diffstat (limited to 'community/electricsheep/PKGBUILD')
-rw-r--r-- | community/electricsheep/PKGBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/community/electricsheep/PKGBUILD b/community/electricsheep/PKGBUILD index 592e3e614..596a01fd2 100644 --- a/community/electricsheep/PKGBUILD +++ b/community/electricsheep/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 87408 2013-03-31 19:18:11Z stephane $ +# $Id: PKGBUILD 90019 2013-05-06 19:36:47Z foutrelis $ # Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=electricsheep pkgver=2.7b33 -pkgrel=7 +pkgrel=8 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/" @@ -34,13 +34,17 @@ mksource() { gpg --detach-sign --use-agent -u ${GPGKEY} ${pkgname}-${pkgver}.tar.xz } -build() { - cd "${srcdir}/${pkgname}-${pkgver}" +prepare() { + cd ${pkgname}-${pkgver} sed -i 's/wx-config/wx-config-2.9/g' configure.ac sed -i -e 's/AM_PROG_CC_STDC/AC_PROG_CC/' configure.ac sed -i '12 i\ #include <cstdio>' Common/Singleton.h mkdir m4 +} + +build() { + cd ${pkgname}-${pkgver} ./autogen.sh CPPFLAGS+="-I/usr/include/lua5.1" ./configure --prefix=/usr sed -i 's|-I /usr/include/libavutil||' MSVC/SettingsGUI/Makefile @@ -48,7 +52,7 @@ build() { } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install install -D -m644 menu-entries/ElectricSheep.desktop.kde "${pkgdir}/usr/share/kde4/services/ScreenSavers/electricsheep.desktop" install -D -m644 Runtime/logo.png "${pkgdir}/usr/share/icons/electricsheep.png" |