Date: Sunday, December 5, 2021 @ 16:19:59 Author: kgizdov Revision: 1065189
archrelease: copy trunk to community-x86_64 Added: auto-multiple-choice/repos/community-x86_64/PKGBUILD (from rev 1065188, auto-multiple-choice/trunk/PKGBUILD) Deleted: auto-multiple-choice/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 96 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-12-05 16:19:52 UTC (rev 1065188) +++ PKGBUILD 2021-12-05 16:19:59 UTC (rev 1065189) @@ -1,48 +0,0 @@ -# Maintainer: Konstantin Gizdov <arch at kge dot pw> -# Contributor: Baptiste Jonglez -# Contributor: Benoit LANDRIEU -# Contributor: Thomas LEGRAND -# Contributor: Alexis Bienvenue -# Contributor: fabmen - -pkgname=auto-multiple-choice -pkgver=1.5.1 -pkgrel=1 -pkgdesc="AMC is a piece of software that can help you creating and managing multiple choice questionnaires (MCQ), with automated marking. Answers sheets are formatted with LaTeX." -arch=('x86_64') -url='https://www.auto-multiple-choice.net/' -license=('GPL2') -depends=('perl' 'perl-gtk3' 'perl-glib-object-introspection' 'perl-locale-gettext' - 'perl-xml-writer' 'perl-xml-simple' 'perl-dbd-sqlite' 'perl-file-mimeinfo' - 'perl-text-csv' 'perl-dbi' 'perl-archive-zip' 'perl-clone' 'perl-locale-codes' - 'ttf-linux-libertine' - 'texlive-core' - 'opencv' 'poppler' 'poppler-glib') -optdepends=('perl-email-sender: allow email sending (1 of 3)' - 'perl-module-pluggable: allow email sending (2 of 3)' - 'perl-email-mime: allow email sending (3 of 3)') -makedepends=('netpbm' 'xorgproto' 'libxslt') -source=("https://download.auto-multiple-choice.net/auto-multiple-choice_${pkgver}_precomp.tar.gz"{,.sig}) -sha256sums=('71831122f7b43245d3289617064e0b561817c0130ee1773c1b957841b28b854c' - 'SKIP') -validpgpkeys=('1F0FAB7CC69ACAD8374DB119D3F94059A398971E') # Alexis Bienvenüe <pal...@passoire.fr> - -prepare() { - cd "$srcdir"/$pkgbase-$pkgver - # PERLDIR hack to conform to https://wiki.archlinux.org/index.php/Perl_package_guidelines#Package_file_placement - # We can't edit Makefile.conf because it triggers a rebuild of precompiled doc targets. - # So just overwrite PERLDIR after Makefile.Conf is included in the main Makefile. - sed -i -e '/^include Makefile-all.conf/aPERLDIR="/usr/share/perl5/vendor_perl"' Makefile -} - -build() { - cd "$srcdir"/$pkgbase-$pkgver - make all_precomp \ - GCC_OPENCV="$(pkg-config --cflags opencv4)" \ - GCC_OPENCV_LIBS="$(pkg-config --libs opencv4)" -} - -package() { - cd "$srcdir"/$pkgbase-$pkgver - make DESTDIR="$pkgdir/" install -} Copied: auto-multiple-choice/repos/community-x86_64/PKGBUILD (from rev 1065188, auto-multiple-choice/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-12-05 16:19:59 UTC (rev 1065189) @@ -0,0 +1,48 @@ +# Maintainer: Konstantin Gizdov <arch at kge dot pw> +# Contributor: Baptiste Jonglez +# Contributor: Benoit LANDRIEU +# Contributor: Thomas LEGRAND +# Contributor: Alexis Bienvenue +# Contributor: fabmen + +pkgname=auto-multiple-choice +pkgver=1.5.2 +pkgrel=1 +pkgdesc="AMC is a piece of software that can help you creating and managing multiple choice questionnaires (MCQ), with automated marking. Answers sheets are formatted with LaTeX." +arch=('x86_64') +url='https://www.auto-multiple-choice.net/' +license=('GPL2') +depends=('perl' 'perl-gtk3' 'perl-glib-object-introspection' 'perl-locale-gettext' + 'perl-xml-writer' 'perl-xml-simple' 'perl-dbd-sqlite' 'perl-file-mimeinfo' + 'perl-text-csv' 'perl-dbi' 'perl-archive-zip' 'perl-clone' 'perl-locale-codes' + 'ttf-linux-libertine' + 'texlive-core' + 'opencv' 'poppler' 'poppler-glib') +optdepends=('perl-email-sender: allow email sending (1 of 3)' + 'perl-module-pluggable: allow email sending (2 of 3)' + 'perl-email-mime: allow email sending (3 of 3)') +makedepends=('netpbm' 'xorgproto' 'libxslt') +source=("https://download.auto-multiple-choice.net/auto-multiple-choice_${pkgver}_precomp.tar.gz"{,.sig}) +sha256sums=('023a2724ea2849ee77170c37414e837edf79a2336a5ab4ee3ee9779e421b72d3' + 'SKIP') +validpgpkeys=('1F0FAB7CC69ACAD8374DB119D3F94059A398971E') # Alexis Bienvenüe <pal...@passoire.fr> + +prepare() { + cd "$srcdir"/$pkgbase-$pkgver + # PERLDIR hack to conform to https://wiki.archlinux.org/index.php/Perl_package_guidelines#Package_file_placement + # We can't edit Makefile.conf because it triggers a rebuild of precompiled doc targets. + # So just overwrite PERLDIR after Makefile.Conf is included in the main Makefile. + sed -i -e '/^include Makefile-all.conf/aPERLDIR="/usr/share/perl5/vendor_perl"' Makefile +} + +build() { + cd "$srcdir"/$pkgbase-$pkgver + make all_precomp \ + GCC_OPENCV="$(pkg-config --cflags opencv4)" \ + GCC_OPENCV_LIBS="$(pkg-config --libs opencv4)" +} + +package() { + cd "$srcdir"/$pkgbase-$pkgver + make DESTDIR="$pkgdir/" install +}