summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlexander Sobolevskiy2016-07-24 22:48:39 +0700
committerAlexander Sobolevskiy2016-07-24 22:54:08 +0700
commitef2c1d0f002c92cbf386d5400514e1c4056f5e39 (patch)
tree353482d4e9ce5bb842912eea442f25aa73443154 /PKGBUILD
downloadaur-ef2c1d0f002c92cbf386d5400514e1c4056f5e39.tar.gz
Init
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
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
+}