aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/sqstat/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/sqstat/APKBUILD')
-rw-r--r--unmaintained/sqstat/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/unmaintained/sqstat/APKBUILD b/unmaintained/sqstat/APKBUILD
new file mode 100644
index 0000000000..e802394f23
--- /dev/null
+++ b/unmaintained/sqstat/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=sqstat
+pkgver=1.20
+pkgrel=0
+pkgdesc="SqStat is a script which allows to look through active squid users connections"
+url="http://samm.kiev.ua/sqstat/"
+arch="all"
+license="ISC"
+depends=""
+makedepends=""
+install=""
+subpackages=""
+source="http://samm.kiev.ua/sqstat/sqstat-$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+}
+
+build() {
+ cd "$_builddir"
+}
+
+package() {
+ cd "$_builddir"
+ mkdir -p "$pkgdir"/usr/share/webapps/sqstat \
+ "$pkgdir"/etc/sqstat
+ cp config.inc.php.defaults "$pkgdir"/etc/sqstat/config.inc.php
+ mv * "$pkgdir"/usr/share/webapps/sqstat/
+ ln -s /etc/sqstat/config.inc.php \
+ "$pkgdir"/usr/share/webapps/sqstat/config.inc.php
+}
+
+md5sums="2b038a72eb5816995c3d7218ca516f30 sqstat-1.20.tar.gz"