Created
August 1, 2010 20:44
-
-
Save squarehimself/503751 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Written by SquareHimself | |
# | |
## You have permission to claim ownership | |
## of this pkgbuild and upload it to AUR. | |
pkgname=lostirc-svn | |
pkgver=767 | |
pkgrel=1 | |
pkgdesc="A simple, yet useful IRC client." | |
arch=('i686') | |
url="http://lostirc.sourceforge.net/" | |
license="?" | |
depends=('gtkmm' 'libsigc++' 'autoconf' 'automake' 'libtool') | |
source=() | |
md5sums=() | |
_svntrunk="https://lostirc.svn.sourceforge.net/svnroot/lostirc/trunk/lostirc" | |
_svnmod="lostirc" | |
build() { | |
cd $startdir/src | |
if [-d $_svnmod/.svn ]; then | |
(cd $_svnmod && svn up $pkgver) | |
else | |
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod | |
fi | |
msg "SVN checkout done or server timeout." | |
msg "Starting make..." | |
cp -r $_svnmod $_svnmod-build | |
cd $_svnmod-build | |
./autogen.sh --prefix=/usr | |
./configure --prefix=/usr | |
make || return 1 | |
make DESTDIR=$startdir/pkg/ install | |
rm -rf $startdir/src/$_svnmod-build | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment