blob: a85fe729789e3e3facac70ffee6dc23f25589414 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Jeppe Fihl-Pearson <archlinux@tenzer.dk>
pkgname=rdd-git
pkgver=r31.7ae95f3
pkgrel=1
pkgdesc='Redis database dumper'
arch=('any')
url='https://github.com/r043v/rdd'
license=('CCPL')
depends=('hiredis')
makedepends=('git')
provides=('rdd')
conflicts=('rdd')
source=("${pkgname}::git+https://github.com/r043v/rdd.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname}"
make
}
package() {
install -D "${srcdir}/${pkgname}/rdd" "${pkgdir}/usr/bin/rdd"
}
|