Set some packages noarch (#2382)

* perl-Config-Tiny: set noarch=yes

* public-inbox: set noarch=yes

also add license

* ssoma: set noarch=yes

also add license

* strip-nondeterminism: set noarch=yes

also remove Debhelper add-on

* gscan2pdf: set noarch=yes
This commit is contained in:
newbluemoon 2018-09-05 10:44:12 +02:00 committed by cr6git
parent 3f5ef7c962
commit f7cf7360cf
5 changed files with 21 additions and 5 deletions

View file

@ -1,7 +1,8 @@
# Template file for 'gscan2pdf'
pkgname=gscan2pdf
version=2.1.4
revision=1
revision=2
noarch=yes
build_style=perl-module
hostmakedepends="perl"
makedepends="ImageMagick djvulibre libmagick-perl perl-Config-General

View file

@ -1,7 +1,8 @@
# Template file for 'perl-Config-Tiny'
pkgname=perl-Config-Tiny
version=2.23
revision=1
revision=2
noarch=yes
wrksrc="${pkgname/perl-/}-${version}"
build_style=perl-module
hostmakedepends="perl"

View file

@ -1,7 +1,8 @@
# Template file for 'public-inbox'
pkgname=public-inbox
version=1.1.0pre1
revision=2
revision=3
noarch=yes
wrksrc="${pkgname}-${version/pre/-pre}"
build_style=perl-module
hostmakedepends="perl perl-URI"
@ -25,4 +26,5 @@ pre_check() {
post_install() {
vsconf scripts/dupe-finder
vsconf scripts/import_maildir
vlicense COPYING
}

View file

@ -1,7 +1,8 @@
# Template file for 'ssoma'
pkgname=ssoma
version=0.2.0
revision=1
revision=2
noarch=yes
make_install_target="install install-man prefix=/usr"
build_style=perl-module
depends="perl perl-Email-LocalDelivery perl-Email-MIME perl-File-Path-Expand
@ -14,3 +15,7 @@ license="AGPL-3.0-or-later"
homepage="https://ssoma.public-inbox.org/"
distfiles="https://ssoma.public-inbox.org/files/${pkgname}-${version}.tar.gz"
checksum=7455bafb344aaa8eeac78ae5efcca2384d11baface1194c35bafd30353168faf
post_install() {
vlicense COPYING
}

View file

@ -1,7 +1,8 @@
# Template file for 'strip-nondeterminism'
pkgname=strip-nondeterminism
version=0.042
revision=1
revision=2
noarch=yes
build_style=perl-module
hostmakedepends="perl-Archive-Zip"
makedepends="$hostmakedepends"
@ -12,3 +13,9 @@ license="GPL-3.0-or-later"
homepage="https://reproducible-builds.org/tools/"
distfiles="http://http.debian.net/debian/pool/main/s/${pkgname}/${pkgname}_${version}.orig.tar.bz2"
checksum=d0f3a118a4bce8cb761817f451fe96249945e1f52b2af22a4ac9da4438a9147a
post_install() {
# remove Debhelper add-on
rm -f ${DESTDIR}/usr/bin/dh_strip_nondeterminism
rm -f ${DESTDIR}/usr/share/man/man1/dh_strip_nondeterminism.1p
}