본문 바로가기

리눅스

pidgin-nateon-20110709-1-x86_64.pkg.tar.xz

# Maintainer: HazE <hansun.lee@gmail.com>
# Contributor: Jazzbug <yeonstyle@gmail.com>

pkgname=pidgin-nateon-git
pkgver=20110709
pkgrel=1
pkgdesc="Pidgin-Nateon is a NateOn protocol for Pidgin"
arch=('i686' 'x86_64')
url="http://nateon.haz3.com"
group=('nateon')
license=('GPL')
depends=('pidgin')
makedepends=("intltool" "git")
source=()
md5sums=()

_gitroot="git://github.com/kaisyu/pidgin-nateon.git"
_gitname="pidgin-nateon"

build() {
    cd $startdir/src

    if [ ! -d $_gitname ]; then
        msg "Cloning pidgin-nateon..."
        git clone $_gitroot $_gitname
    else
        msg "Updating pidgin-nateon..."
        cd $startdir/src/$_gitname
        git pull origin || return 1
    fi

    cd $startdir/src/$_gitname
    msg "Building pidgin-nateon..."

    ./configure --prefix=/usr || return 1
        make || return 1
    make DESTDIR=$startdir/pkg install || return 1
}