Advertisement
Guest User

Untitled

a guest
May 13th, 2015
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.06 KB | None | 0 0
  1. # Maintainer: Michael Adler <therisen06 plus aur at gmail a-dot com>
  2. # Previous Contributors: Kiswono <kiswono@gmail.com>, Lev Lybin <lev.lybin at gmail a-dot com>
  3.  
  4. pkgname=libcouchbase-2.4
  5. pkgver=2.4.9
  6. pkgrel=1
  7. pkgdesc="The C library provides fast access to documents in Couchbase Server 2.4.x"
  8. arch=('i686' 'x86_64')
  9. url="https://github.com/couchbase/libcouchbase"
  10. license=('Apache')
  11. options=('!emptydirs' '!strip')
  12. depends=('libevent')
  13. source=("https://github.com/couchbase/libcouchbase/archive/${pkgver}.tar.gz")
  14. sha1sums=('8b86cd7dc22a0105b1155006d906e3443f3ab2c2')
  15.  
  16. build() {
  17.   tar -xzf ${pkgver}.tar.gz -C "${srcdir}/libcouchbase-${pkgver}"
  18.   cd "${srcdir}/libcouchbase-${pkgver}"
  19.   # For debugging:
  20.   # cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr CMakeLists.txt
  21.   cmake -DCMAKE_INSTALL_PREFIX=/usr CMakeLists.txt
  22.   make || return 1
  23. }
  24.  
  25. package() {
  26.   cd "${srcdir}/libcouchbase-${pkgver}"
  27.   make DESTDIR="${pkgdir}" install
  28.   install -Dm644 ${srcdir}/libcouchbase-${pkgver}/LICENSE "{$pkgdir}/usr/share/licenses/{$pkgname}/LICENSE"
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement