diff options
author | Riccardo Berto | 2018-02-11 23:17:26 +0100 |
---|---|---|
committer | Riccardo Berto | 2018-02-11 23:17:26 +0100 |
commit | a1341445c4b96a918c5fb70907c0d1cb680672a4 (patch) | |
tree | 01f99d41f8ba106464846447c5442a01a526b208 | |
download | aur-a1341445c4b96a918c5fb70907c0d1cb680672a4.tar.gz |
First Commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..17a81dca76ec --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = redis-rejson + pkgdesc = Redis module that implements ECMA-404 The JSON Data Interchange Standard as a native data type. + pkgver = 1.0.1 + pkgrel = 1 + url = https://github.com/RedisLabsModules/rejson + arch = x86_64 + license = AGPL-3.0 + depends = redis + source = https://github.com/RedisLabsModules/rejson/archive/v1.0.1.tar.gz + sha512sums = 0513b8dd96ae4802da5e6fb5e41a4a615c6d4297c0c438ed49bd3c459c89f8ffabf9242e51b544f4a9bf9a026c9cfcae630c1122f0c6a33e7bb415cd51f65ca1 + +pkgname = redis-rejson + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ff01015e1383 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Riccardo Berto <riccardobrt at gmail> +pkgname=redis-rejson +_pkgname=rejson +pkgver=1.0.1 +pkgrel=1 +pkgdesc="Redis module that implements ECMA-404 The JSON Data Interchange Standard as a native data type." +arch=('x86_64') +url="https://github.com/RedisLabsModules/rejson" +license=('AGPL-3.0') +depends=('redis') +source=("$url/archive/v$pkgver.tar.gz") +sha512sums=('0513b8dd96ae4802da5e6fb5e41a4a615c6d4297c0c438ed49bd3c459c89f8ffabf9242e51b544f4a9bf9a026c9cfcae630c1122f0c6a33e7bb415cd51f65ca1') + +prepare() { + cd "$_pkgname-$pkgver" +} + +build() { + cd "$_pkgname-$pkgver" + make +} + +package() { + cd "$_pkgname-$pkgver" + install -D src/rejson.so $pkgdir/usr/lib/redis/rejson.so + install -Dm644 LICENSE $pkgdir/usr/share/licenses/rejson/LICENSE +} |