Skip to content

Instantly share code, notes, and snippets.

@t0yv0
Created March 23, 2013 13:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save t0yv0/5227777 to your computer and use it in GitHub Desktop.
Save t0yv0/5227777 to your computer and use it in GitHub Desktop.
Corrections to the fsharp-git Arch Linux PKGBUILD to make it work (downgrading to a previous tag of F# open source repo)
# Maintainer: Joris Putcuyps <Joris.Putcuyps at gmail dot com>
pkgname=fsharp-git
pkgver=20130323
pkgrel=1
pkgdesc="An ML based functional language integrated with the .NET platform."
arch=('any')
url="http://msdn.microsoft.com/en-us/fsharp"
license=('APACHE')
groups=()
depends=('mono>=2.10.2')
makedepends=('git')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
#install=
source=()
noextract=()
md5sums=()
_gitroot="https://github.com/fsharp/fsharp.git"
_gitname="fsharp"
build()
{
cd $srcdir
msg "Getting source from GIT server...."
if [[ -d $srcdir/$_gitname ]] ; then
cd $_gitname
git pull origin
msg "The local files are updated..."
else
git clone $_gitroot
cd $_gitname
git checkout 3.0.25
fi
msg "Configuring..."
autoreconf
./configure --prefix=/usr
msg "Building..."
make || return 1
make DESTDIR=$pkgdir install || return 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment