blob: 710f9437a0b7221fa91f9cff663fe959a7316016 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# $Id: PKGBUILD 81685 2012-12-26 19:27:13Z foutrelis $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jeff Mickey <j@codemac.net>
pkgname=amsn
pkgver=0.98.9
pkgrel=2
pkgdesc="MSN client written in Tcl/Tk"
arch=('i686' 'x86_64' 'mips64el')
url="http://amsn.sourceforge.net/"
license=('GPL2')
depends=('tk' 'tls')
makedepends=('libjpeg' 'libpng' 'farstream' 'libv4l')
# not compatible with farstream 0.2
#optdepends=('farstream: for video conferencing')
changelog=$pkgname.changelog
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver-src.tar.bz2
$pkgname-$pkgver-v4l2.patch
$pkgname-$pkgver-no-rebuild-on-install.patch)
sha256sums=('1fd2620489cc3627a841773a79cf28a7c9c438979c76d37f231a773a79e7f23e'
'5371339024548fad3b3c5330e3bc410360a383a75d1771fb656885acddfc44cf'
'dd560bebcfa672ba0be56b70dbcaa069b0faba7206d9cb8ea5d61fbd50ad81a1')
build() {
cd ${srcdir}/$pkgname-$pkgver
rm -f plugins/amsnplus/snapshot
# patch for linux kernel header changes
patch -Np0 -i ${srcdir}/$pkgname-$pkgver-v4l2.patch
# build patch
patch -Np0 -i ${srcdir}/$pkgname-$pkgver-no-rebuild-on-install.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
./configure --prefix=/usr
make
}
package() {
cd ${srcdir}/$pkgname-$pkgver
make DESTDIR=${pkgdir} install
}
|