blob: 7d9996596eb8245bace2e201ed862f9c0845d115 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# 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="x86 x86_64"
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"
|