diff options
-rw-r--r-- | testing/sqstat/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/sqstat/APKBUILD b/testing/sqstat/APKBUILD new file mode 100644 index 0000000000..d40862eaf8 --- /dev/null +++ b/testing/sqstat/APKBUILD @@ -0,0 +1,34 @@ +# Maintainer: Natanael Copa +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/" +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" |