summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8b97fe8b4b8349b5f0e79c9d0d44b033cf240877 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer : Ilan Frumer (ilanfrumer@gmail.com)

pkgname=dragonfly-bin
pkgver=0.7.0
pkgrel=1
pkgdesc="Dragonfly is a modern in-memory datastore, fully compatible with Redis and Memcached APIs"
arch=("x86_64" "aarch64")
url="https://dragonflydb.io/"
license=('BSL')
depends=('boost-libs' 'libunwind')
source=("https://github.com/dragonflydb/dragonfly/releases/download/v${pkgver}/dragonfly-${arch}.tar.gz")
sha256sums=('SKIP')

package() {
    tar -zxvf "dragonfly-$arch.tar.gz"
    mv "dragonfly-$arch" dragonfly
    install -vDm755 -t "$pkgdir/usr/bin" dragonfly
    install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.md
}