aboutsummaryrefslogtreecommitdiffstats
path: root/main/tinyproxy/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-31 14:28:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-31 14:28:24 +0000
commita9383e9f5bdfcdf218295d4686645ffb14eb5aa4 (patch)
treed39f9c1573edc5e17172f3c45c9e3eb666a19694 /main/tinyproxy/APKBUILD
parent1055b3bb592ddada4a65c6fad6b76a7e7d7381e7 (diff)
downloadaports-a9383e9f5bdfcdf218295d4686645ffb14eb5aa4.tar.bz2
aports-a9383e9f5bdfcdf218295d4686645ffb14eb5aa4.tar.xz
main/tinyproxy: use the new pkgusers and pkggroups feature
mostly for testing abuild
Diffstat (limited to 'main/tinyproxy/APKBUILD')
-rw-r--r--main/tinyproxy/APKBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/main/tinyproxy/APKBUILD b/main/tinyproxy/APKBUILD
index 72abc3f24d..f1a7dc2e72 100644
--- a/main/tinyproxy/APKBUILD
+++ b/main/tinyproxy/APKBUILD
@@ -2,17 +2,18 @@
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=tinyproxy
pkgver=1.6.3
-pkgrel=1
+pkgrel=2
pkgdesc="Lightweight HTTP proxy"
+pkgusers="tinyproxy"
+pkggroups="tinyproxy"
url="https://www.banu.com/tinyproxy/"
license="GPL"
depends=
-makedepends=""
-install="tinyproxy.pre-install tinyproxy.post-install"
+makedepends=
+install="tinyproxy.pre-install" # tinyproxy.post-install"
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
tinyproxy.initd
- $install
"
build() {
@@ -31,11 +32,9 @@ build() {
make || return 1
make DESTDIR="$pkgdir" install
- mkdir -p "$pkgdir"/var/run/tinyproxy
+ install -d -D -o tinyproxy -g tinyproxy "$pkgdir"/var/run/tinyproxy
install -Dm755 "$srcdir"/tinyproxy.initd "$pkgdir"/etc/init.d/tinyproxy
}
md5sums="bd14d029b12621bcfd7ee71b2f4893da tinyproxy-1.6.3.tar.gz
-554da6fc363fbe251f081b342541bef4 tinyproxy.initd
-ab854eaf0ad44de6c85660350ed9f758 tinyproxy.pre-install
-0d2d99e5759292d00c4e5c73d8c220ff tinyproxy.post-install"
+554da6fc363fbe251f081b342541bef4 tinyproxy.initd"