[arch-commits] Commit in pacredir/repos (8 files)
Christian Hesse
eworm at archlinux.org
Sat May 13 20:25:43 UTC 2017
Date: Saturday, May 13, 2017 @ 20:25:42
Author: eworm
Revision: 227919
archrelease: copy trunk to community-i686, community-x86_64
Added:
pacredir/repos/community-i686/PKGBUILD
(from rev 227918, pacredir/trunk/PKGBUILD)
pacredir/repos/community-i686/pacredir.install
(from rev 227918, pacredir/trunk/pacredir.install)
pacredir/repos/community-x86_64/PKGBUILD
(from rev 227918, pacredir/trunk/PKGBUILD)
pacredir/repos/community-x86_64/pacredir.install
(from rev 227918, pacredir/trunk/pacredir.install)
Deleted:
pacredir/repos/community-i686/PKGBUILD
pacredir/repos/community-i686/pacredir.install
pacredir/repos/community-x86_64/PKGBUILD
pacredir/repos/community-x86_64/pacredir.install
-----------------------------------+
/PKGBUILD | 66 ++++++++++++++++++++++++++++++++++++
/pacredir.install | 28 +++++++++++++++
community-i686/PKGBUILD | 33 ------------------
community-i686/pacredir.install | 6 ---
community-x86_64/PKGBUILD | 33 ------------------
community-x86_64/pacredir.install | 6 ---
6 files changed, 94 insertions(+), 78 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2017-05-13 20:25:35 UTC (rev 227918)
+++ community-i686/PKGBUILD 2017-05-13 20:25:42 UTC (rev 227919)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Christian Hesse <mail at eworm.de>
-
-pkgname=pacredir
-pkgver=0.2.2
-pkgrel=1
-pkgdesc='redirect pacman requests, assisted by avahi service discovery'
-arch=('i686' 'x86_64')
-url='https://github.com/eworm-de/pacredir'
-depends=('libsystemd' 'avahi' 'curl' 'iniparser' 'darkhttpd' 'libmicrohttpd')
-makedepends=('systemd' 'markdown')
-license=('GPL')
-conflicts=('paccache')
-replaces=('paccache')
-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=('d00d9cc7b9c2b93a1813a97cced00b3b502dc6db4cac5346e3afa1e7464e1e7c'
- 'SKIP')
-
-build() {
- cd ${pkgname}-${pkgver}/
-
- make
-}
-
-package() {
- cd ${pkgname}-${pkgver}/
-
- make DESTDIR="${pkgdir}" install
-}
-
Copied: pacredir/repos/community-i686/PKGBUILD (from rev 227918, pacredir/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-05-13 20:25:42 UTC (rev 227919)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=pacredir
+pkgver=0.3.0
+pkgrel=1
+pkgdesc='redirect pacman requests, assisted by avahi service discovery'
+arch=('i686' 'x86_64')
+url='https://github.com/eworm-de/pacredir'
+depends=('libsystemd' 'avahi' 'curl' 'iniparser' 'darkhttpd' 'libmicrohttpd')
+makedepends=('systemd' 'markdown')
+license=('GPL')
+conflicts=('paccache')
+replaces=('paccache')
+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=('7b31c99cf84eeb49d44f1a7d45d4fd0fe1f07f4c64e3667549700eb81edb8ced'
+ 'SKIP')
+
+build() {
+ cd ${pkgname}-${pkgver}/
+
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}/
+
+ make DESTDIR="${pkgdir}" install
+}
+
Deleted: community-i686/pacredir.install
===================================================================
--- community-i686/pacredir.install 2017-05-13 20:25:35 UTC (rev 227918)
+++ community-i686/pacredir.install 2017-05-13 20:25:42 UTC (rev 227919)
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-post_install() {
- echo " > For instructions visit: https://github.com/eworm-de/pacredir#usage"
-}
-
Copied: pacredir/repos/community-i686/pacredir.install (from rev 227918, pacredir/trunk/pacredir.install)
===================================================================
--- community-i686/pacredir.install (rev 0)
+++ community-i686/pacredir.install 2017-05-13 20:25:42 UTC (rev 227919)
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+post_install() {
+ echo " > For instructions visit: https://github.com/eworm-de/pacredir#usage"
+}
+
+post_upgrade() {
+ # return if old package version greater 0.3...
+ (( $(vercmp $2 '0.3') > 0 )) && return
+
+ # upgrade from pre-0.3 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."
+}
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2017-05-13 20:25:35 UTC (rev 227918)
+++ community-x86_64/PKGBUILD 2017-05-13 20:25:42 UTC (rev 227919)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Christian Hesse <mail at eworm.de>
-
-pkgname=pacredir
-pkgver=0.2.2
-pkgrel=1
-pkgdesc='redirect pacman requests, assisted by avahi service discovery'
-arch=('i686' 'x86_64')
-url='https://github.com/eworm-de/pacredir'
-depends=('libsystemd' 'avahi' 'curl' 'iniparser' 'darkhttpd' 'libmicrohttpd')
-makedepends=('systemd' 'markdown')
-license=('GPL')
-conflicts=('paccache')
-replaces=('paccache')
-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=('d00d9cc7b9c2b93a1813a97cced00b3b502dc6db4cac5346e3afa1e7464e1e7c'
- 'SKIP')
-
-build() {
- cd ${pkgname}-${pkgver}/
-
- make
-}
-
-package() {
- cd ${pkgname}-${pkgver}/
-
- make DESTDIR="${pkgdir}" install
-}
-
Copied: pacredir/repos/community-x86_64/PKGBUILD (from rev 227918, pacredir/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2017-05-13 20:25:42 UTC (rev 227919)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+
+pkgname=pacredir
+pkgver=0.3.0
+pkgrel=1
+pkgdesc='redirect pacman requests, assisted by avahi service discovery'
+arch=('i686' 'x86_64')
+url='https://github.com/eworm-de/pacredir'
+depends=('libsystemd' 'avahi' 'curl' 'iniparser' 'darkhttpd' 'libmicrohttpd')
+makedepends=('systemd' 'markdown')
+license=('GPL')
+conflicts=('paccache')
+replaces=('paccache')
+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=('7b31c99cf84eeb49d44f1a7d45d4fd0fe1f07f4c64e3667549700eb81edb8ced'
+ 'SKIP')
+
+build() {
+ cd ${pkgname}-${pkgver}/
+
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}/
+
+ make DESTDIR="${pkgdir}" install
+}
+
Deleted: community-x86_64/pacredir.install
===================================================================
--- community-x86_64/pacredir.install 2017-05-13 20:25:35 UTC (rev 227918)
+++ community-x86_64/pacredir.install 2017-05-13 20:25:42 UTC (rev 227919)
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-post_install() {
- echo " > For instructions visit: https://github.com/eworm-de/pacredir#usage"
-}
-
Copied: pacredir/repos/community-x86_64/pacredir.install (from rev 227918, pacredir/trunk/pacredir.install)
===================================================================
--- community-x86_64/pacredir.install (rev 0)
+++ community-x86_64/pacredir.install 2017-05-13 20:25:42 UTC (rev 227919)
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+post_install() {
+ echo " > For instructions visit: https://github.com/eworm-de/pacredir#usage"
+}
+
+post_upgrade() {
+ # return if old package version greater 0.3...
+ (( $(vercmp $2 '0.3') > 0 )) && return
+
+ # upgrade from pre-0.3 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