You are not logged in.

#1 2006-12-14 04:41:26

hugin
Member
Registered: 2006-05-19
Posts: 93

libtorrent-svn && rtorrent-svn

I made these, because the SVN version of rtorrent has encryption, where the release doesn't, yet.  Since this is some of my first PKGBUILDs (the first ones, I've published) I'm putting them here first, for public review.  Please input if you find something.

libtorrent-svn:

# Contributor: swogs <hugin0>
pkgname=libtorrent-svn
pkgver=823
pkgrel=1
pkgdesc=""
url="http://libtorrent.rakshasa.no/"

depends=('libsigc++2.0' 'openssl')
makedepends=('subversion')
conflicts=('libtorrent')
provides=('libtorrent')

source=()
md5sums=()

_svntrunk=svn://rakshasa.no/libtorrent/trunk/libtorrent
_svnmod=libtorrent

build() {
  cd $startdir/src

  svn co $_svntrunk -r $pkgver
  cd $_svnmod
  ./autogen.sh

  msg "SVN checkout done or server timeout"
  msg "Starting make..."

  ./configure --prefix=/usr
   make || return 1
   make DESTDIR=$startdir/pkg/ install
}
# vim:syntax=sh

rtorrent-svn:

# Contributor: swogs <hugin0>
pkgname=rtorrent-svn
pkgver=823
pkgrel=1
pkgdesc=""
url="http://libtorrent.rakshasa.no/"

depends=('libtorrent-svn' 'curl')
makedepends=('subversion')
conflicts=('rtorrent')
provides=('rtorrent')

source=()
md5sums=()

_svntrunk=svn://rakshasa.no/libtorrent/trunk/rtorrent
_svnmod=rtorrent

build() {
  cd $startdir/src

  svn co $_svntrunk -r $pkgver 
  cd $_svnmod
  ./autogen.sh

  msg "SVN checkout done or server timeout"
  msg "Starting make..."

  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg/ install
}
# vim:syntax=sh

/swogs


Open Toes; Open Mind; Open Source.

Offline

Board footer

Powered by FluxBB