From 2386e0d74a9406d00dbbbab84a0e97a276fcf4b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Sat, 10 Mar 2012 20:47:17 -0200 Subject: ~emulatorman/xchat-xsys-noaudacious --- ~emulatorman/xchat-xsys-noaudacious/PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 ~emulatorman/xchat-xsys-noaudacious/PKGBUILD (limited to '~emulatorman/xchat-xsys-noaudacious/PKGBUILD') diff --git a/~emulatorman/xchat-xsys-noaudacious/PKGBUILD b/~emulatorman/xchat-xsys-noaudacious/PKGBUILD new file mode 100644 index 000000000..977999a38 --- /dev/null +++ b/~emulatorman/xchat-xsys-noaudacious/PKGBUILD @@ -0,0 +1,25 @@ +# Contributor: Gökmen Görgen +# Contributor (Parabola): André Silva +pkgname=xchat-xsys-noaudacious +pkgver=2.2.0 +pkgrel=3 +pkgdesc="Sysinfo plugin without audacious for X-Chat" +url="http://dev.gentoo.org/~chainsaw/xsys" +depends=('xchat-libre' 'pciutils') +arch=('i686' 'x86_64') +source=(http://dev.gentoo.org/~chainsaw/xsys/download/xsys-$pkgver.tar.bz2 xchat-xsys-parabola.patch no-audacious.patch) +md5sums=('d57def00f96c7389ab593c009595f6f4' '4d22883f24606dbab588d685c553e5a1' '588e5f6d9037a07385079a5cf6ee2dbe') +license=('GPL') + +build() { + cd $srcdir/xsys-$pkgver + patch -p1 -i ../no-audacious.patch || return 1 + sed -i -e "s:/usr/share/misc/:/usr/share/hwdata/:" Makefile + sed -i -e "s:-O2 -Wall:${CFLAGS} -Wall:" Makefile + sed -i -e "s:#BUTTON:BUTTON:" Makefile + sed -i -e "s:# FOR AUDACIOUS # ::g" Makefile + patch -p1 -i ../xchat-xsys-parabola.patch || return 1 + make || return 1 + mkdir -p $pkgdir/usr/lib/xchat/plugins + cp xsys-$pkgver.so $pkgdir/usr/lib/xchat/plugins +} -- cgit v1.2.3-2-g168b