Date: Wednesday, December 20, 2017 @ 23:10:19 Author: eworm Revision: 275117
archrelease: copy trunk to community-x86_64 Added: oath-toolkit/repos/community-x86_64/PKGBUILD (from rev 275116, oath-toolkit/trunk/PKGBUILD) Deleted: oath-toolkit/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 88 +++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 51 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-12-20 23:10:14 UTC (rev 275116) +++ PKGBUILD 2017-12-20 23:10:19 UTC (rev 275117) @@ -1,37 +0,0 @@ -# $Id$ -# Maintainer: Christian Hesse <m...@eworm.de> -# Contributor: Sébastien Luttringer -# Contributor: L42y <423...@gmail.com> - -pkgname=oath-toolkit -pkgver=2.6.2 -pkgrel=1 -pkgdesc='OATH one-time password toolkit' -arch=('i686' 'x86_64') -url='http://www.nongnu.org/oath-toolkit/' -license=('GPL3') -depends=('glibc' 'pam' 'xmlsec') -validpgpkeys=('9AA9BDB11BB1B99A21285A330664A76954265E8C') # Simon Josefsson -source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}) -sha256sums=('b03446fa4b549af5ebe4d35d7aba51163442d255660558cd861ebce536824aa0' - 'SKIP') - -build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr - make -} - -check() { - cd $pkgname-$pkgver - make check -} - -package() { - cd $pkgname-$pkgver - make DESTDIR="$pkgdir" install - # Install basic docs too - install -D -m 644 pam_oath/README "$pkgdir/usr/share/doc/$pkgname/PAM_README" - install -D -m 644 README "$pkgdir/usr/share/doc/$pkgname/README" -} - Copied: oath-toolkit/repos/community-x86_64/PKGBUILD (from rev 275116, oath-toolkit/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-12-20 23:10:19 UTC (rev 275117) @@ -0,0 +1,51 @@ +# $Id$ +# Maintainer: Christian Hesse <m...@eworm.de> +# Contributor: Sébastien Luttringer +# Contributor: L42y <423...@gmail.com> + +pkgname=oath-toolkit +pkgver=2.6.2 +pkgrel=2 +pkgdesc='OATH one-time password toolkit' +arch=('x86_64') +url='http://www.nongnu.org/oath-toolkit/' +license=('GPL3') +depends=('glibc' 'pam' 'xmlsec') +validpgpkeys=('9AA9BDB11BB1B99A21285A330664A76954265E8C') # Simon Josefsson +source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig} + 'oath-toolkit-update-gnulib.patch::https://gitlab.com/oath-toolkit/oath-toolkit/commit/2fffce2a471f74a585939c84cce16ef3015e5d3d.diff') +sha256sums=('b03446fa4b549af5ebe4d35d7aba51163442d255660558cd861ebce536824aa0' + 'SKIP' + 'e3ca2ca2cc7e579ac5474bdaff1c77b0b567d4dffd73bf5bf4681a6c0319542c') + +prepare() { + cd $pkgname-$pkgver + + patch -Np1 < "${srcdir}"/oath-toolkit-update-gnulib.patch + + autoreconf -fi +} + +build() { + cd $pkgname-$pkgver + + ./configure --prefix=/usr + make +} + +check() { + cd $pkgname-$pkgver + + make check +} + +package() { + cd $pkgname-$pkgver + + make DESTDIR="$pkgdir" install + + # Install basic docs too + install -D -m 0644 pam_oath/README "$pkgdir/usr/share/doc/$pkgname/PAM_README" + install -D -m 0644 README "$pkgdir/usr/share/doc/$pkgname/README" +} +