Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: b3659b8cbe
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (35 sloc) 0.919 kB
# Maintainer: Dave Reisner <d@falconindy.com>
pkgname=spindly-git
pkgver=20120513
pkgrel=1
pkgdesc="a portable C library for SPDY transport"
arch=('i686' 'x86_64')
url="http://github.com/bagder/spindly"
license=('MIT')
depends=('glibc')
makedepends=('git')
conflicts=('spindly')
provides=('spindly')
_gitroot="git://github.com/bagder/spindly.git"
_gitname="spindly"
build() {
msg "Connecting to GIT server...."
if [[ -d $_gitname ]] ; then
cd "$_gitname" && git pull origin
msg "The local files are updated."
else
git clone "$_gitroot" "$_gitname"
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf "$srcdir/$_gitname-build"
cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
cd "$srcdir/$_gitname-build"
./buildconf
./configure --prefix=/usr
make
}
package() {
make -C "$srcdir/$_gitname-build" DESTDIR="$pkgdir" install
}
# vim: ft=sh syn=sh et
Jump to Line
Something went wrong with that request. Please try again.