aboutsummaryrefslogblamecommitdiffstats
path: root/testing/sqstat/APKBUILD
blob: 9489e7960f55d4c5fb82954747e10c3ad171feee (plain) (tree)
1
2
3
4
5
6
7





                                                                                        
          



























                                                                      
# 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/"
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"