mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 17:47:13 +08:00
Add protobuf-c as dependency as libgadu.
This commit is contained in:
parent
633cc91529
commit
86f268a40f
30
protobuf-c/PKGBUILD
Normal file
30
protobuf-c/PKGBUILD
Normal file
@ -0,0 +1,30 @@
|
||||
# Platform Packages for Chakra, part of chakraos.org
|
||||
#
|
||||
# maintainer Jeff Huang s8321414[at]gmail[dot]com>
|
||||
|
||||
pkgname=protobuf-c
|
||||
pkgver=1.0.2
|
||||
pkgrel=1
|
||||
pkgdesc='Protocol Buffers implementation in C'
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://github.com/protobuf-c/protobuf-c'
|
||||
license=('BSD')
|
||||
depends=('protobuf')
|
||||
source=($url/releases/download/v$pkgver/protobuf-c-$pkgver.tar.gz)
|
||||
md5sums=('42f03767ddbd1dbe26cce10bc6e08c84')
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure --prefix=/usr --disable-static
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
make -C $pkgname-$pkgver check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
Loading…
Reference in New Issue
Block a user