mirror of
https://github.com/archlinux/aur.git
synced 2026-03-05 20:32:40 +01:00
Initial PKGBUILD status as of 28.11.2014
This commit is contained in:
commit
4b9100bb2e
2 changed files with 42 additions and 0 deletions
13
.SRCINFO
Normal file
13
.SRCINFO
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
pkgbase = http-replicator
|
||||
pkgdesc = A caching proxy to serve http files to multiple clients at once
|
||||
pkgver = 3.0
|
||||
pkgrel = 2
|
||||
url = http://gertjan.freezope.org/replicator/
|
||||
arch = any
|
||||
license = GPL
|
||||
depends = python2
|
||||
source = ftp://ftp.fit.vutbr.cz/pub/systems/gentoo/distfiles/http-replicator_3.0.tar.gz
|
||||
md5sums = 5db9882611f34ea2a104a86db142ceec
|
||||
|
||||
pkgname = http-replicator
|
||||
|
||||
29
PKGBUILD
Normal file
29
PKGBUILD
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
|
||||
# Contributor: wide-eye <eyeswide@gmail.com>
|
||||
|
||||
pkgname=http-replicator
|
||||
pkgver=3.0
|
||||
pkgrel=2
|
||||
pkgdesc="A caching proxy to serve http files to multiple clients at once"
|
||||
arch=('any')
|
||||
url="http://gertjan.freezope.org/replicator/"
|
||||
license=('GPL')
|
||||
depends=('python2')
|
||||
source=(ftp://ftp.fit.vutbr.cz/pub/systems/gentoo/distfiles/${pkgname}_${pkgver}.tar.gz)
|
||||
md5sums=('5db9882611f34ea2a104a86db142ceec')
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${pkgname}_${pkgver}
|
||||
|
||||
# python2 fix
|
||||
for file in $(find . -name 'http-*' -print); do
|
||||
sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file
|
||||
sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
|
||||
done
|
||||
|
||||
install -D -m755 $pkgname ${pkgdir}/usr/bin/$pkgname
|
||||
install -D -m755 ${pkgname}_maintenance ${pkgdir}/usr/bin/${pkgname}_maintenance
|
||||
|
||||
install -D -m644 $pkgname.1 ${pkgdir}/usr/share/man/man1/$pkgname.1
|
||||
install -D -m644 ${pkgname}_maintenance.1 ${pkgdir}/usr/share/man/man1/${pkgname}_maintenance.1
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue