diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-02-28 19:11:54 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-02-28 19:11:54 (GMT) |
commit | 7060c58c78e966fad532fb01ea538b4a6a98fc93 (patch) | |
tree | 8e04191b3e61e57f3216034a43c30aaffba9876d | |
parent | bc1c02d4ee8cd4478e2a854156846d66138be7d2 (diff) | |
download | linhes_pkgbuild-7060c58c78e966fad532fb01ea538b4a6a98fc93.zip linhes_pkgbuild-7060c58c78e966fad532fb01ea538b4a6a98fc93.tar.gz linhes_pkgbuild-7060c58c78e966fad532fb01ea538b4a6a98fc93.tar.bz2 |
pinentry: update to 1.1.0
-rw-r--r-- | abs/core/pinentry/PKGBUILD | 55 | ||||
-rw-r--r-- | abs/core/pinentry/pinentry.install | 20 |
2 files changed, 30 insertions, 45 deletions
diff --git a/abs/core/pinentry/PKGBUILD b/abs/core/pinentry/PKGBUILD index 2da4a57..dbcb71c 100644 --- a/abs/core/pinentry/PKGBUILD +++ b/abs/core/pinentry/PKGBUILD @@ -1,36 +1,41 @@ # $Id$ # Maintainer: Tobias Powalowski <tpowa@archlinux.org> +# Maintainer: Gaetan Bisson <bisson@archlinux.org> + pkgname=pinentry -pkgver=0.9.0 +pkgver=1.1.0 pkgrel=1 -pkgdesc="a collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol" -arch=('i686' 'x86_64') +pkgdesc='Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol' +url='http://gnupg.org/related_software/pinentry/' +arch=('x86_64') license=('GPL') -url="http://gnupg.org/related_software/pinentry/" -depends=('ncurses' 'libcap>=2.16') -makedepends=('gtk2' 'qt4') -optdepends=('gtk2: for gtk2 backend' - 'qt4: for qt4 backend') -source=(ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$pkgver.tar.bz2) -install=pinentry.install -md5sums=('40a05856cb3accf6679987b7899b0f5a') +depends=('ncurses' 'libcap' 'libassuan' 'libsecret') +makedepends=('gtk2' 'qt5-base' 'gcr') +optdepends=('gtk2: gtk2 backend' + 'qt5-base: qt backend' + 'gcr: gnome3 backend') +source=("ftp://ftp.gnupg.org/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig}) +sha256sums=('68076686fa724a290ea49cdf0d1c0c1500907d1b759a3bcbfbec0293e8f56570' + 'SKIP') +validpgpkeys=('D8692123C4065DEA5E0F3AB5249B39D24F25E3B6') build() { - cd $srcdir/$pkgname-$pkgver - for file in qt4/*.moc; do - moc-qt4 ${file/.moc/.h} > ${file} - done - ./configure --prefix=/usr \ - --enable-pinentry-curses \ - --disable-pinentry-gtk \ - --disable-pinentry-qt \ - --enable-pinentry-gtk2 \ - --enable-pinentry-qt4 \ - --enable-fallback-curses - make + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --enable-pinentry-tty \ + --enable-pinentry-curses \ + --enable-fallback-curses \ + --enable-pinentry-emacs \ + --enable-pinentry-gtk2 \ + --enable-pinentry-gnome3 \ + --enable-pinentry-qt \ + --enable-libsecret \ + + make } package() { - cd $srcdir/$pkgname-$pkgver - make DESTDIR=${pkgdir} install + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } diff --git a/abs/core/pinentry/pinentry.install b/abs/core/pinentry/pinentry.install deleted file mode 100644 index eed2c71..0000000 --- a/abs/core/pinentry/pinentry.install +++ /dev/null @@ -1,20 +0,0 @@ -infodir=usr/share/info -filelist=(pinentry.info) - -post_install() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info $infodir/$file.gz $infodir/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null - done -} |