aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-04-05 00:02:39 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-04-05 00:02:39 -0300
commit3140fed978dd41e5db5fa9325a8e49bb88fa4676 (patch)
tree5b4655feacab83df60e1502d6da0800eebaf3914
parent00f962281a0993d32d76f51bd85cb9de9cdf814e (diff)
downloadaports-3140fed978dd41e5db5fa9325a8e49bb88fa4676.tar.gz
aports-3140fed978dd41e5db5fa9325a8e49bb88fa4676.tar.bz2
aports-3140fed978dd41e5db5fa9325a8e49bb88fa4676.tar.xz
main/tinyproxy: modernize
-rw-r--r--main/tinyproxy/APKBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/main/tinyproxy/APKBUILD b/main/tinyproxy/APKBUILD
index 0191ed7aee..d7f0ad3604 100644
--- a/main/tinyproxy/APKBUILD
+++ b/main/tinyproxy/APKBUILD
@@ -2,21 +2,21 @@
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=tinyproxy
pkgver=1.10.0
-pkgrel=2
+pkgrel=3
pkgdesc="Lightweight HTTP proxy"
pkgusers="tinyproxy"
pkggroups="tinyproxy"
-url="https://www.banu.com/tinyproxy/"
+url="https://tinyproxy.github.io/"
arch="all"
license="GPL-2.0-or-later"
-depends=
makedepends="asciidoc"
install="tinyproxy.pre-install"
subpackages="$pkgname-doc $pkgname-openrc"
-source="https://github.com/$pkgname/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz
+source="https://github.com/tinyproxy/tinyproxy/releases/download/$pkgver/tinyproxy-$pkgver.tar.gz
tinyproxy.initd"
+pkgusers="tinyproxy"
+pkggroups="tinyproxy"
-builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
# set default user to tinyproxy:tinyproxy and correct pidfile
@@ -27,7 +27,6 @@ prepare() {
}
build() {
- cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -40,7 +39,6 @@ build() {
}
package() {
- cd "$_builddir"
make DESTDIR="$pkgdir" install
install -d -D -o tinyproxy -g tinyproxy "$pkgdir"/run/tinyproxy
install -d -D -o tinyproxy -g tinyproxy "$pkgdir"/var/log/tinyproxy