Files
ceph-bin/PKGBUILD
Bazaah 5b3872d065 pkgbuild: 15.2.14-9 -> 16.2.7-1
- Update pkgver,pkgrel
- Regenerate .SRCINFO
2022-10-04 19:53:40 +00:00

73 lines
3.1 KiB
Bash

# Maintainer: Paul Stemmet <aur@luxolus.com>
pkgbase='ceph-bin'
pkgname=('ceph-bin' 'ceph-libs-bin' 'ceph-mgr-bin')
pkgver=16.2.7
pkgrel=1
pkgdesc='Distributed, fault-tolerant storage platform delivering object, block, and file system'
arch=('x86_64')
url='https://ceph.com/'
license=('GPL')
options=('emptydirs')
_artifact=v${pkgver}-${pkgrel}
source=("ceph-bin-${pkgver}.tar.zst::https://github.com/bazaah/aur-ceph/releases/download/${_artifact}/ceph_linux_${arch}.tar.zstd"
"ceph-libs-bin-${pkgver}.tar.zst::https://github.com/bazaah/aur-ceph/releases/download/${_artifact}/ceph_libs_linux_${arch}.tar.zstd"
"ceph-mgr-bin-${pkgver}.tar.zst::https://github.com/bazaah/aur-ceph/releases/download/${_artifact}/ceph_mgr_linux_${arch}.tar.zstd")
sha512sums=('ca9d7771a0469b20163731ef80512ca4c0828bc7dcb82288b59f030a6877eb86d7b1b033c9fe5089a373da5f1b01e6d9e318555889064982557da12a46fb5dec'
'8b61b973347c60641587cce8b9c02c8953e80dccd210f2534f5490d47f740e05f81adb12a53a4daa8bf6ae368e3de54244155877e638fa3022fe959b07b2dace'
'f63a1f359d804cbfe31bfee301602ac6a10729b2292e264ac349ace4feb72171b9d62638181f449b97d68b0d37bde5377fbb9fb8b7cf2e1533c2aaacf7b95a11')
# Don't extract source archives
noextract=("${source[@]%%::*}")
package_ceph-libs-bin() {
depends=('boost-libs' 'curl' 'glibc' 'keyutils' 'libutil-linux' 'bzip2' 'lz4' 'nss'
'oath-toolkit' 'python' 'snappy' 'systemd-libs' 'fmt' 'cryptsetup'
'lua' 'librdkafka'
'python-prettytable' 'python-yaml' 'python-setuptools')
provides=("ceph-libs=${pkgver}-${pkgrel}")
conflicts=('ceph-libs')
cd "${srcdir}"
tar --exclude='.*' --zstd -xv -f ceph-libs-bin-${pkgver}.tar.zst -C "${pkgdir}"
}
package_ceph-bin() {
depends=("ceph-libs=${pkgver}-${pkgrel}"
'boost-libs' 'curl' 'fuse2' 'fuse3' 'fmt' 'glibc' 'gperftools' 'java-runtime'
'keyutils' 'leveldb' 'libaio' 'libutil-linux' 'librdkafka' 'cryptsetup' 'libnl'
'ncurses'
'nss' 'oath-toolkit' 'python'
'snappy' 'sudo' 'systemd-libs' 'lua' 'gawk'
'xfsprogs')
provides=("ceph=${pkgver}-${pkgrel}")
conflicts=('ceph')
cd "${srcdir}"
tar --exclude='.*' --zstd -xv -f ceph-bin-${pkgver}.tar.zst -C "${pkgdir}"
}
package_ceph-mgr-bin() {
depends=("ceph=${pkgver}-${pkgrel}" "ceph-libs=${pkgver}-${pkgrel}"
'bash' 'boost-libs' 'coffeescript' 'curl' 'gperftools' 'nodejs' 'nss' 'fmt'
'python' 'python-cherrypy' 'python-pecan' 'python-pyjwt' 'python-more-itertools'
'python-numpy' 'python-scipy' 'python-six' 'python-coverage' 'python-pytest' 'python-dateutil'
'python-prettytable' 'python-requests' 'python-pyopenssl' 'python-bcrypt' 'python-yaml'
'python-werkzeug' 'python-jinja')
optdepends=('python-influxdb: influx module'
'python-kubernetes: rook module'
'python-prometheus_client: prometheus module'
'python-remoto: ssh module')
provides=("ceph-mgr=${pkgver}-${pkgrel}")
conflicts=('ceph-mgr')
options=('emptydirs' '!strip')
cd "${srcdir}"
tar --exclude='.*' --zstd -xv -f ceph-mgr-bin-${pkgver}.tar.zst -C "${pkgdir}"
}
# vim:set ts=2 sw=2 et: