Commit 6d37d1af authored by Natanael Copa's avatar Natanael Copa
Browse files

main/protobuf: fix source url

parent 84d86338
......@@ -2,17 +2,17 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=protobuf
pkgver=2.6.1
pkgrel=0
pkgrel=1
pkgdesc="Library for extensible, efficient structure packing"
url="http://code.google.com/p/protobuf/"
arch="all"
license="BSD"
depends=
depends_dev="zlib-dev"
makedepends="$depends_dev"
makedepends="$depends_dev autoconf automake libtool"
install=""
subpackages="$pkgname-dev"
source="https://github.com/google/protobuf/releases/download/$pkgver/protobuf-$pkgver.tar.bz2"
source="protobuf-$pkgver.tar.gz::https://github.com/google/protobuf/archive/v$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
......@@ -23,6 +23,7 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
./autogen.sh || return 1
}
build() {
......@@ -50,6 +51,6 @@ py() {
install -m644 google "$subpkgdir"/usr/lib/python2.6/site-packages
}
md5sums="11aaac2d704eef8efd1867a807865d85 protobuf-2.6.1.tar.bz2"
sha256sums="ee445612d544d885ae240ffbcbf9267faa9f593b7b101f21d58beceb92661910 protobuf-2.6.1.tar.bz2"
sha512sums="8b092b87fcd79223db199cd3d330f3d43689b47f345aa4e34028dcf1680d609a5d5a89ab08588e817b566d3b265834c38f1db580bc1c144b512ce74d35f2a174 protobuf-2.6.1.tar.bz2"
md5sums="af05b2cca289f7b86eef2734a0cdc8b9 protobuf-2.6.1.tar.gz"
sha256sums="2667b7cda4a6bc8a09e5463adf3b5984e08d94e72338277affa8594d8b6e5cd1 protobuf-2.6.1.tar.gz"
sha512sums="8a6337e007572b1c5688ad178a18e98e94e62112bbc4ae558b4a3f8fa7f93a9643929ccaf31b94490c9f601328ae3f48dab7b702a2b9c989a5254514c78a4d1e protobuf-2.6.1.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment