diff options
author | zoe | 2021-06-13 15:13:34 +0200 |
---|---|---|
committer | zoe | 2021-06-13 15:13:34 +0200 |
commit | b422803814ae7580280e07df0fe87fe28de58920 (patch) | |
tree | 51d33998ab87e499b06c7453e3d9cee4b83c6b52 | |
parent | ab66986ea2a5ec752b5b6f71feb996a88121a752 (diff) | |
download | aur-cewe-monlivrephoto.tar.gz |
Cleaned PKGBUILD and updater.pl
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 16 | ||||
-rw-r--r-- | updater.pl | 4 |
3 files changed, 16 insertions, 13 deletions
@@ -1,8 +1,8 @@ pkgbase = cewe-monlivrephoto - pkgdesc = Création off-line de livres-photos, calendriers, posters…, disponibles ensuite en ligne à l'achat auprès de la FNAC + pkgdesc = Création off-line de livres-photos, calendriers, posters…, disponibles ensuite en ligne à l'achat auprès de la FNAC (France) pkgver = 7.1.3 - pkgrel = 1 - url = http://www.livrephoto-cewe.fr/ + pkgrel = 2 + url = https://www.cewe.fr/ install = cewe-monlivrephoto.install arch = i686 arch = x86_64 @@ -14,6 +14,7 @@ pkgbase = cewe-monlivrephoto depends = curl depends = wget depends = snappy + conflicts = cewe-monlivrephoto-non-branded conflicts = cewe-fotowelt conflicts = cewe-fotobuch conflicts = cewe-fotoservice @@ -24,7 +25,7 @@ pkgbase = cewe-monlivrephoto source = updater.pl source = cewe-monlivrephoto.install md5sums = SKIP - md5sums = b33d945e4fe6cdf33b8060ae73d83f0a + md5sums = 7ecfb4d5942ad421054c0e16e9167dc0 md5sums = 82baecba5be4c2af0cccf0f5bc0e00c7 pkgname = cewe-monlivrephoto @@ -1,5 +1,8 @@ # Maintainer: zoe <chp321 [at] gmail [dot] com> # Contributor: Arnaud Sevin <nono31 [at] gmail [dot] com>, repo at https://github.com/nono031/cewe-monlivrephoto.git +# Contributor: Jozef Riha <jose1711 at gmail dot com> +# Contributor: ManU <manolo89 [at] online [dot] de> +# Contributor: DonJaime <DonJaime [at] freenet [dot] de> # forked from cewe-fotoservice by James Crompton, itself forked from cewe-fotobuch, originally by Jozef Riha, updated by Manuel Conzelmann # Updated by Zoe <chp321 at gmail dot com>, for french version @@ -13,16 +16,16 @@ _productRename='Atelier Photo Fnac' _setupFilename='setup_Atelier_Photo_Fnac' pkgname=cewe-monlivrephoto -conflicts=('cewe-fotowelt' 'cewe-fotobuch' 'cewe-fotoservice' 'mullerfoto-fotostar_de' 'mullerfoto-fotostar_cz' 'mullerfoto-fotostar_sk') -pkgdesc="Création off-line de livres-photos, calendriers, posters…, disponibles ensuite en ligne à l'achat auprès de la FNAC" +conflicts=('cewe-monlivrephoto-non-branded' 'cewe-fotowelt' 'cewe-fotobuch' 'cewe-fotoservice' 'mullerfoto-fotostar_de' 'mullerfoto-fotostar_cz' 'mullerfoto-fotostar_sk') +pkgdesc="Création off-line de livres-photos, calendriers, posters…, disponibles ensuite en ligne à l'achat auprès de la FNAC (France)" # setup_Atelier_Photo_Fnac (script perl) is versatile too much, so it is better to skip its md5sum : md5sums=(SKIP - 'b33d945e4fe6cdf33b8060ae73d83f0a' ## updater.pl + '7ecfb4d5942ad421054c0e16e9167dc0' ## updater.pl '82baecba5be4c2af0cccf0f5bc0e00c7') ## $pkgname.install pkgver=7.1.3 -pkgrel=1 -url="http://www.livrephoto-cewe.fr/" +pkgrel=2 +url="https://www.cewe.fr/" license=("custom:eula") #depends=('libx11' 'libjpeg' 'curl' 'wget' 'gstreamer0.10-base-plugins' 'snappy') depends=('libx11' 'libjpeg' 'curl' 'wget' 'snappy') @@ -32,8 +35,7 @@ source=("http://dls.photoprintit.com/download/Data/$_keyaccount-fr_FR/hps/$_setu 'updater.pl' "$pkgname.install") install=$pkgname.install _installDir=/usr/share/$pkgname -########################################## -# remaining code shared with cewe-fotoservice + pkgver() { grep 'my $HPS_VER' $srcdir/install.pl | grep -Po '[\d\.]+' diff --git a/updater.pl b/updater.pl index 29c62428b880..46b47b7c689e 100644 --- a/updater.pl +++ b/updater.pl @@ -10,11 +10,11 @@ my $installer = ""; GetOptions("installer=s" => \$installer); -unless ($installer =~ /(OnlineFotoservice|Mein_CEWE_FOTOBUCH|Mon_LIVRE_PHOTO_CEWE)/){ +unless ($installer =~ /(Atelier_Photo_Fnac|Mon_LIVRE_PHOTO_CEWE)/){ print "\033[1;31mNo AUR package available for this update ('$installer').\033[0m" }else{ - my $pkgName = $1 eq 'Mein_CEWE_FOTOBUCH' ? 'cewe-fotobuch' : 'cewe-fotoservice' : 'cewe-fotowelt' : 'cewe-monlivrephoto'; + my $pkgName = $1 eq 'Atelier_Photo_Fnac' ? 'cewe-monlivrephoto'; chdir('/tmp'); system("wget https://aur.archlinux.org/cgit/aur.git/snapshot/$pkgName.tar.gz -O $pkgName.tar.gz"); |