Skip to content

Commit 1ed46ee

Browse files
committed
Init
0 parents  commit 1ed46ee

2 files changed

Lines changed: 80 additions & 0 deletions

File tree

cpp-redis/PKGBUILD

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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:

tacopie/PKGBUILD

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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:

0 commit comments

Comments
 (0)