You are not logged in.
Pages: 1
How can I alter this to use the 2057 pkgver instead of 2061 that it tries to d/l when I run makepkg? I specifically need 2057 for a patch. I take it all I need to know is the right svn branch to point too, but I am not sure how to find that out. I am completely lost on this for now.
# Contributor: Cainã Costa <cainan.costa@gmail.com>
# Use VERSIONPKG to update.
pkgname=moc-svn
pkgver=2057
pkgrel=2
pkgdesc="A ncurses console audio player with support for the mp3, ogg, and wave formats"
url="http://moc.daper.net/"
arch=(i686 x86_64)
license=('GPL')
depends=(libmad jack-audio-connection-kit 'curl>=7.16.2' libsamplerate)
makedepends=(speex ffmpeg taglib libmpcdec subversion)
conflicts=('moc')
provides=('moc')
source=()
md5sums=()
options=(!libtool)
_svntrunk=svn://daper.net/moc/trunk
_svnmod=moc-svn
build() {
cd ${startdir}/src
msg "Connecting to $_svnmod SVN server...."
svn co $_svntrunk $_svnmod -r $pkgver
[ -d ./$_svnmod-build ] && rm -fr ./$_svnmod-build
cp -r ./$_svnmod ./$_svnmod-build
cd ./$_svnmod-build
msg "SVN checkout done or server timeout"
msg "Starting make..."
./autogen.sh || return 1
./configure --prefix=/usr || return 1
mkdir -p ${startdir}/pkg/usr/share/moc/
install -m644 config.example ${startdir}/pkg/usr/share/moc/
make || return 1
make DESTDIR=${startdir}/pkg install
}
Last edited by jacko (2008-01-29 06:54:01)
Offline
use:
makepkg --forcever "2057"
makepkg 3.1 automatically fetch the latest revision when building cvs/svn/... packages.
Offline
Pages: 1