diff options
author | willemw12 | 2021-07-07 17:22:40 +0200 |
---|---|---|
committer | willemw12 | 2021-07-07 17:22:40 +0200 |
commit | 3cc5e8c252379fcda9325916fd2d4e01f6eb2775 (patch) | |
tree | 638e0803d5e71e6222930ae1200e5dac288a9711 /PKGBUILD | |
parent | d14f80efad5d6b65d12e9c595cbd0bcd3114c761 (diff) | |
download | aur-3cc5e8c252379fcda9325916fd2d4e01f6eb2775.tar.gz |
Remove makedepends and depends
Fix license.
Minor edits.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 52 |
1 files changed, 21 insertions, 31 deletions
@@ -1,4 +1,5 @@ -# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> +# Maintainer: willemw <willemw12@gmail.com> +# Contributor: Thorsten Töpper <atsutane-tu@freethoughts.de> # Contributor: Jelle van der Waa <jelle vdwaa nl> # Contributor: Daniel Micay <danielmicay@gmail.com> # Contributor: Thomas Holmquist <thomas@vorget.com> @@ -7,51 +8,40 @@ pkgname=polipo pkgver=1.1.1 -pkgrel=4 -pkgdesc="A small and fast caching web proxy." +pkgrel=5 +pkgdesc="Small and fast caching web proxy" arch=('x86_64') url="http://www.pps.jussieu.fr/~jch/software/polipo/" -license=('GPL') -depends=('bash') -makedepends=('texinfo') +license=('MIT') +#source=(https://github.com/jech/polipo/archive/refs/tags/polipo-$pkgver.tar.gz source=(http://www.pps.univ-paris-diderot.fr/~jch/software/files/polipo/polipo-$pkgver.tar.gz{,.asc} polipo.sysusers polipo.tmpfiles polipo.service) validpgpkeys=('F8E70AAD74D32CAC27B9AFD62652C881EADB5526') -md5sums=('86939e331e656f638271f578b6e3f893' - 'SKIP' - '3287e00f0e103a0e52c625efdabe5a37' - '6cc953fb59920f4448d8cac53ac3fbc1' - '3861a067f6cdd2b8afcee1de97678902') +sha256sums=('a259750793ab79c491d05fcee5a917faf7d9030fb5d15e05b3704e9c9e4ee015' + 'SKIP' + '7cca508a1a43c9162cf76fc782a3c7f4736189daa757a4e5432d5c2d073214c8' + '9229d9adbce9dd3630cea01f80f8bf262d733bc58f2a1cff2567692f836bec66' + 'fc62ed3ebe6e0b58276b0f164a3f307d1903cf1600bb1813cf0515fda7429d13') build() { - cd "$srcdir/$pkgname-$pkgver" - make + make -C $pkgname-$pkgver } package() { - cd "$srcdir/$pkgname-$pkgver" - make PREFIX="$pkgdir/usr" \ - MANDIR="$pkgdir/usr/share/man" \ + make -C $pkgname-$pkgver \ + DISK_CACHE_ROOT="$pkgdir/var/cache/polipo" \ INFODIR="$pkgdir/usr/share/info" \ LOCAL_ROOT="$pkgdir/usr/share/polipo/www" \ - DISK_CACHE_ROOT="$pkgdir/var/cache/polipo" \ + MANDIR="$pkgdir/usr/share/man" \ + PREFIX="$pkgdir/usr" \ install - # install config files - install -Dm 644 config.sample "$pkgdir/etc/polipo/config.sample" - install -Dm 644 forbidden.sample "$pkgdir/etc/polipo/forbidden.sample" - - # install license - install -Dm644 COPYING "$pkgdir/usr/share/licenses/polipo/LICENSE" - - # install systemd service - install -Dm 644 "$srcdir/polipo.service" "$pkgdir/usr/lib/systemd/system/polipo.service" - - # install system user - install -Dm644 "$srcdir/polipo.sysusers" "$pkgdir/usr/lib/sysusers.d/polipo.conf" - install -Dm644 "$srcdir/polipo.tmpfiles" "$pkgdir/usr/lib/tmpfiles.d/polipo.conf" + install -Dm644 $pkgname-$pkgver/{config.sample,forbidden.sample} -t "$pkgdir/etc/polipo" + install -Dm644 $pkgname-$pkgver/COPYING "$pkgdir/usr/share/licenses/polipo/LICENSE" + install -Dm644 polipo.service -t "$pkgdir/usr/lib/systemd/system" + install -Dm644 polipo.sysusers "$pkgdir/usr/lib/sysusers.d/polipo.conf" + install -Dm644 polipo.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/polipo.conf" } -# vim:set ts=2 sw=2 et: |