diff options
Diffstat (limited to 'community/amsn/PKGBUILD')
-rw-r--r-- | community/amsn/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/community/amsn/PKGBUILD b/community/amsn/PKGBUILD new file mode 100644 index 000000000..c96ccf33c --- /dev/null +++ b/community/amsn/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 34944 2010-12-13 21:56:56Z jlichtblau $ +# 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 +pkgdesc="MSN client written in Tcl/Tk" +arch=('i686' 'x86_64') +url="http://amsn.sourceforge.net/" +license=('GPL2') +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') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + +# 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 + + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +} |