summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sobolevskiy2016-07-24 22:48:39 +0700
committerAlexander Sobolevskiy2016-07-24 22:54:08 +0700
commitef2c1d0f002c92cbf386d5400514e1c4056f5e39 (patch)
tree353482d4e9ce5bb842912eea442f25aa73443154
downloadaur-ef2c1d0f002c92cbf386d5400514e1c4056f5e39.tar.gz
Init
-rw-r--r--.SRCINFO14
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD26
3 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..750351f1f0c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = phpredisadmin
+ pkgdesc = phpRedisAdmin is a simple web interface to manage Redis databases
+ pkgver = 1.6.0
+ pkgrel = 1
+ url = https://github.com/erikdubbelboer/phpRedisAdmin
+ arch = any
+ license = GPL
+ source = https://github.com/erikdubbelboer/phpRedisAdmin/archive/v1.6.0.tar.gz
+ source = https://github.com/nrk/predis/archive/v1.1.1.zip
+ md5sums = 325833e444d814dc2b2b3418cd954467
+ md5sums = 8755fd28c226c5ac2b73c09b0dce70de
+
+pkgname = phpredisadmin
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..8ebe751bfef
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!.gitignore
+!PKGBUILD
+!.SRCINFO \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..aafe71201d1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Alexander Sobolevkiy <smak.nsk@gmail.com>
+# Contributor: Erik Dubbelboer <erik@dubbelboer.com>
+
+pkgname=phpredisadmin
+pkgver=1.6.0
+pkgrel=1
+pkgdesc="phpRedisAdmin is a simple web interface to manage Redis databases"
+arch=('any')
+url="https://github.com/erikdubbelboer/phpRedisAdmin"
+license=('GPL')
+source=("https://github.com/erikdubbelboer/phpRedisAdmin/archive/v${pkgver}.tar.gz"
+ "https://github.com/nrk/predis/archive/v1.1.1.zip")
+md5sums=('325833e444d814dc2b2b3418cd954467'
+ '8755fd28c226c5ac2b73c09b0dce70de')
+
+package() {
+ _instdir="$pkgdir"/usr/share/webapps/phpRedisAdmin
+ mkdir -p "$_instdir" "$pkgdir"/etc/webapps/phpredisadmin
+ cd "$_instdir"
+
+ cp -ra "$srcdir"/phpRedisAdmin-$pkgver/* .
+ cp -ra "$srcdir"/predis-1.1.1 ./vendor
+
+ ln -s /etc/webapps/phpredisadmin/config.inc.php "$_instdir"/includes/config.inc.php
+ cp "$_instdir"/includes/config.sample.inc.php "$pkgdir"/etc/webapps/phpredisadmin/config.inc.php
+}