Skip to content
Snippets Groups Projects
Commit 3140fed9 authored by Leo's avatar Leo
Browse files

main/tinyproxy: modernize

parent 00f96228
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment