summaryrefslogtreecommitdiff
path: root/community/amsn/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/amsn/PKGBUILD')
-rw-r--r--community/amsn/PKGBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/community/amsn/PKGBUILD b/community/amsn/PKGBUILD
index c96ccf33c..0faa75753 100644
--- a/community/amsn/PKGBUILD
+++ b/community/amsn/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 34944 2010-12-13 21:56:56Z jlichtblau $
+# $Id: PKGBUILD 63498 2012-02-05 11:51:24Z ibiru $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jeff Mickey <j@codemac.net>
pkgname=amsn
pkgver=0.98.4
-pkgrel=1
+pkgrel=2
pkgdesc="MSN client written in Tcl/Tk"
arch=('i686' 'x86_64')
url="http://amsn.sourceforge.net/"
@@ -14,13 +14,20 @@ depends=('tk' 'tls')
makedepends=('libjpeg' 'libpng' 'farsight2' 'libv4l')
optdepends=('farsight2: for video conferencing')
changelog=$pkgname.changelog
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}-src.tar.bz2)
-md5sums=('96fd20e8709ced4443432d125a5e0a5a')
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}-src.tar.bz2 amsn-0.98.4-libpng15.patch amsn-0.98.4-v4l2.patch)
+md5sums=('96fd20e8709ced4443432d125a5e0a5a'
+ '182eef321e78632499c24b3009c085ad'
+ '02d4ec8faed521387d6e44481f43c91a')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
-# python2 fix
+ # patch for libpng15
+ patch -Np0 -i $srcdir/amsn-0.98.4-libpng15.patch
+
+ # patch for linux kernel header changes
+ patch -Np0 -i $srcdir/amsn-0.98.4-v4l2.patch
+ # python2 fix
for file in lang/missing.py plugins/music/infosongbird; do
sed -i 's_/usr/bin/env python_/usr/bin/env python2_' ${file}
done