File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Maintainer: Nicholas Atkins <nbatkins@gmail.com>
2+
3+ pkgname=cpp-redis-git
4+ pkgver=61b5659
5+
6+ pkgrel=1
7+ pkgdesc=' C++11 Asynchronous Multi-Platform Lightweight Redis Client'
8+ arch=(' any' )
9+ url=' https://github.com/cpp-redis/cpp_redis'
10+ license=(' MIT' )
11+ makedepends=(' git' ' gcc' ' cmake' )
12+ provides=(' cpp-redis-git' )
13+ conflicts=(' cpp-redis-git' )
14+ source=(' git+https://github.com/cpp-redis/cpp_redis.git' )
15+ sha256sums=(' SKIP' )
16+
17+ dldir=cpp_redis
18+
19+ pkgver () {
20+ cd $dldir
21+
22+ git describe --always | sed -E ' s/([^-]*-g)/r\1/;s/-/./g'
23+ }
24+
25+ build () {
26+ mkdir -p $dldir /build && cd $dldir && git submodule init && git submodule update && cd build
27+
28+ # bundle install --path .
29+ # export PATH="$(find $PWD/ruby -maxdepth 2 -type d -name bin):$PATH"
30+
31+ cmake -DCMAKE_BUILD_TYPE=Release ..
32+ make
33+ }
34+
35+ package () {
36+ cd $dldir /build
37+ sudo make install
38+ }
39+
40+ # vim: ts=2 sw=2 et:
Original file line number Diff line number Diff line change 1+ # Maintainer: Nicholas Atkins <nbatkins@gmail.com>
2+
3+ pkgname=tacopie-git
4+ pkgver=61b5659
5+
6+ pkgrel=1
7+ pkgdesc=' C++11 Asynchronous Multi-Platform Lightweight Redis Client'
8+ arch=(' any' )
9+ url=' https://github.com/cpp-redis/cpp_redis'
10+ license=(' MIT' )
11+ makedepends=(' git' ' gcc' ' cmake' )
12+ provides=(' cpp-redis-git' )
13+ conflicts=(' cpp-redis-git' )
14+ source=(' git+https://github.com/cpp-redis/cpp_redis.git' )
15+ sha256sums=(' SKIP' )
16+
17+ dldir=cpp_redis
18+
19+ pkgver () {
20+ cd $dldir
21+
22+ git describe --always | sed -E ' s/([^-]*-g)/r\1/;s/-/./g'
23+ }
24+
25+ build () {
26+ mkdir -p $dldir /build && cd $dldir && git submodule init && git submodule update && cd build
27+
28+ # bundle install --path .
29+ # export PATH="$(find $PWD/ruby -maxdepth 2 -type d -name bin):$PATH"
30+
31+ cmake -DCMAKE_BUILD_TYPE=Release ..
32+ make
33+ }
34+
35+ package () {
36+ cd $dldir /build
37+ sudo make install
38+ }
39+
40+ # vim: ts=2 sw=2 et:
You can’t perform that action at this time.
0 commit comments