updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / tmsnc / PKGBUILD
blob6eedc2ae1ea230019477ce4b22071504a47fc567
1 # Contributor: Andrea Scarpino <andrea@archlinux.org>
2 # Contributor: Callan Barrett <wizzomafizzo@gmail.com>
3 # Contributor: stenico
4 # Contributor: Erus_Iluvatar <erus.iluvatar@gmail.com>
6 pkgname=tmsnc
7 pkgver=0.3.3
8 pkgrel=1
9 pkgdesc="A text based MSN Messenger client"
10 arch=('i686' 'x86_64')
11 url="http://tmsnc.sourceforge.net"
12 license=('custom:IRPDL')
13 depends=('ncurses' 'openssl')
14 #source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
15 _pkg="$pkgname-$pkgver-Testing"
16 if [ "$CARCH" = "i686" ]; then
17   _pkgurl="${_pkg}-i686"
18   source=(http://downloads.sourceforge.net/$pkgname/${_pkgurl}.tar.gz)
19   md5sums=('a6194de32de3fb968c6a27f1045ac940')
20 elif [ "$CARCH" = "x86_64" ]; then
21   _pkgurl="${_pkg}-x86-64"
22   source=(http://downloads.sourceforge.net/$pkgname/${_pkgurl}.tar.gz)
23   md5sums=('b980f5b337da8f5c461713a5c758dbe5')
26 build() {
27   cd "$srcdir/${_pkg}"
29   ./autogen.sh
30   ./configure --prefix=/usr
31   make
34 package() {
35   cd "$srcdir/${_pkg}"
36   make DESTDIR="$pkgdir" install
38   install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"