[arch-commits] Commit in pacredir/repos/community-x86_64 (4 files)
Christian Hesse
eworm at archlinux.org
Tue Jan 1 20:39:41 UTC 2019
Date: Tuesday, January 1, 2019 @ 20:39:40
Author: eworm
Revision: 420226
archrelease: copy trunk to community-x86_64
Added:
pacredir/repos/community-x86_64/PKGBUILD
(from rev 420225, pacredir/trunk/PKGBUILD)
pacredir/repos/community-x86_64/pacredir.install
(from rev 420225, pacredir/trunk/pacredir.install)
Deleted:
pacredir/repos/community-x86_64/PKGBUILD
pacredir/repos/community-x86_64/pacredir.install
------------------+
PKGBUILD | 62 ++++++++++++++++++++++++++---------------------------
pacredir.install | 48 ++++++++++++++++++++---------------------
2 files changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-01 20:39:35 UTC (rev 420225)
+++ PKGBUILD 2019-01-01 20:39:40 UTC (rev 420226)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Christian Hesse <mail at eworm.de>
-
-pkgname=pacredir
-pkgver=0.4.0
-pkgrel=1
-pkgdesc='redirect pacman requests, assisted by avahi service discovery'
-arch=('x86_64')
-url='https://github.com/eworm-de/pacredir'
-depends=('libsystemd' 'avahi' 'curl' 'iniparser' 'darkhttpd' 'libmicrohttpd')
-makedepends=('systemd' 'markdown')
-license=('GPL')
-install=pacredir.install
-backup=('etc/pacredir.conf' 'etc/pacman.d/pacredir')
-validpgpkeys=('BD84DE71F493DF6814B0167254EDC91609BC9183') # Christian Hesse <mail at eworm.de>
-source=("https://www.eworm.de/download/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.asc})
-sha256sums=('3e941cd0559cd9cd4b4bb8f8bbe7f5da0201768220fb33d117eb686a52779606'
- 'SKIP')
-
-build() {
- cd ${pkgname}-${pkgver}/
-
- make
-}
-
-package() {
- cd ${pkgname}-${pkgver}/
-
- make DESTDIR="${pkgdir}" install
-}
-
Copied: pacredir/repos/community-x86_64/PKGBUILD (from rev 420225, pacredir/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-01-01 20:39:40 UTC (rev 420226)
@@ -0,0 +1,31 @@
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=pacredir
+pkgver=0.4.1
+pkgrel=1
+pkgdesc='redirect pacman requests, assisted by avahi service discovery'
+arch=('x86_64')
+url='https://github.com/eworm-de/pacredir'
+depends=('libsystemd' 'avahi' 'curl' 'iniparser' 'darkhttpd' 'libmicrohttpd')
+makedepends=('systemd' 'markdown')
+conflicts=('pacserve')
+license=('GPL')
+install=pacredir.install
+backup=('etc/pacredir.conf' 'etc/pacman.d/pacredir')
+validpgpkeys=('BD84DE71F493DF6814B0167254EDC91609BC9183') # Christian Hesse <mail at eworm.de>
+source=("https://www.eworm.de/download/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.asc})
+sha256sums=('3e60b1528d8db488af8db5a4e84776f5ea34ab7640a95596895ebc05a2925a63'
+ 'SKIP')
+
+build() {
+ cd ${pkgname}-${pkgver}/
+
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}/
+
+ make DESTDIR="${pkgdir}" install
+}
+
Deleted: pacredir.install
===================================================================
--- pacredir.install 2019-01-01 20:39:35 UTC (rev 420225)
+++ pacredir.install 2019-01-01 20:39:40 UTC (rev 420226)
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-post_install() {
- echo " > For instructions visit: https://github.com/eworm-de/pacredir#usage"
-}
-
-pre_upgrade() {
- # return if old package version greater 0.4...
- (( $(vercmp $2 '0.4') > 0 )) && return
-
- # upgrade from pre-0.4 version, pacdbserve.service no longer exists
- if systemctl is-enabled -q pacdbserve.service; then
- systemctl disable -q pacdbserve.service
- fi
-}
-
-post_upgrade() {
- # return if old package version greater 0.4...
- (( $(vercmp $2 '0.4') > 0 )) && return
-
- # upgrade from pre-0.4 version, avahi service names changed
- echo " > This upgrade from pacredir $2 to pacredir $1 changes avahi service"
- echo " > names. Make sure to update all your installations for compatibility."
-}
Copied: pacredir/repos/community-x86_64/pacredir.install (from rev 420225, pacredir/trunk/pacredir.install)
===================================================================
--- pacredir.install (rev 0)
+++ pacredir.install 2019-01-01 20:39:40 UTC (rev 420226)
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+post_install() {
+ echo " > For instructions visit: https://github.com/eworm-de/pacredir#usage"
+}
+
+pre_upgrade() {
+ # return if old package version greater 0.4...
+ (( $(vercmp $2 '0.4') > 0 )) && return
+
+ # upgrade from pre-0.4 version, pacdbserve.service no longer exists
+ if systemctl is-enabled -q pacdbserve.service; then
+ systemctl disable -q pacdbserve.service
+ fi
+}
+
+post_upgrade() {
+ # return if old package version greater 0.4...
+ (( $(vercmp $2 '0.4') > 0 )) && return
+
+ # upgrade from pre-0.4 version, avahi service names changed
+ echo " > This upgrade from pacredir $2 to pacredir $1 changes avahi service"
+ echo " > names. Make sure to update all your installations for compatibility."
+}
More information about the arch-commits
mailing list