1 # Contributor: Andrej Nandaromovszij <sorosj@gmail.com>
6 pkgdesc="Libatomic provides arch-independant API for the low-level atomic implementation."
8 url="http://ioremap.net"
10 makedepends=('make' 'gcc' 'git' 'autoconf' 'automake')
13 _gitroot=http://www.ioremap.net/git/libatomic.git
14 _gitrepo=libatomic.ġit
17 msg "Cloning the repo..."
19 if [ ! -d $_gitrepo ]; then
20 git clone $_gitroot $_gitrepo
27 msg "Done, now exporting a pristine version of the repo to work in..."
29 git archive --format=tar --prefix=$pkgname/ HEAD | (cd $startdir/src/ && tar xf -)
32 msg "Done, building libatomic..."
34 ./configure --prefix=/usr
35 make DESTDIR="$startdir/pkg/"
36 make DESTDIR="$startdir/pkg/" install