summaryrefslogtreecommitdiff
path: root/community/tinyproxy/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/tinyproxy/PKGBUILD')
-rw-r--r--community/tinyproxy/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/community/tinyproxy/PKGBUILD b/community/tinyproxy/PKGBUILD
index f52714348..cffd856ec 100644
--- a/community/tinyproxy/PKGBUILD
+++ b/community/tinyproxy/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 64182 2012-02-09 20:42:45Z lfleischer $
+# $Id: PKGBUILD 74395 2012-07-26 13:54:21Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Andrea Zucchelli <zukka77@gmail.com>
pkgname=tinyproxy
pkgver=1.8.3
-pkgrel=4
+pkgrel=5
pkgdesc='A light-weight HTTP proxy daemon for POSIX operating systems.'
arch=('i686' 'x86_64')
url='https://banu.com/tinyproxy/'
@@ -14,10 +14,12 @@ install="${pkgname}.install"
backup=('etc/tinyproxy/tinyproxy.conf')
source=("https://banu.com/pub/${pkgname}/1.8/${pkgname}-${pkgver}.tar.bz2"
'tinyproxy'
- 'tinyproxy.tmpfiles.conf')
+ 'tinyproxy.tmpfiles.conf'
+ 'tinyproxy.service')
md5sums=('292ac51da8ad6ae883d4ebf56908400d'
'90eb2b3371e56d5a784fd826d4a6e5f8'
- '3c2764578f26581346fe312da0519a3e')
+ '3c2764578f26581346fe312da0519a3e'
+ '8e97b05cc8c87f7efefbf957e77c7f18')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -37,4 +39,7 @@ package() {
# Provide sane defaults
sed -i '/^#Listen/a\Listen 127.0.0.1' "${pkgdir}/etc/tinyproxy/tinyproxy.conf"
+
+ install -Dm0644 "${srcdir}/tinyproxy.service" \
+ "${pkgdir}/usr/lib/systemd/system/tinyproxy.service"
}