diff options
author | Chocobo1 | 2017-08-25 20:51:31 +0800 |
---|---|---|
committer | Chocobo1 | 2017-08-25 21:55:10 +0800 |
commit | 5212e05352bdef17e2f4b1ec769cc25818bd2585 (patch) | |
tree | c7678a5e1d58a0c10e707c018248f08eacce952e | |
download | aur-5212e05352bdef17e2f4b1ec769cc25818bd2585.tar.gz |
newpkg: pinentry-git 1.0.0.r29.g2b1fb2f-1
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | PKGBUILD | 43 |
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..04a463a9ac69 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = pinentry-git + pkgdesc = A small collection of dialog programs that allow GnuPG to read passphrases and PIN numbers in a secure manner + pkgver = 1.0.0.r29.g2b1fb2f + pkgrel = 1 + url = https://gnupg.org/software/pinentry/index.html + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = git + makedepends = gcr + makedepends = gtk2 + makedepends = qt5-base + depends = glibc + depends = libassuan + depends = libsecret + depends = libcap + depends = ncurses + provides = pinentry + conflicts = pinentry + source = git+https://dev.gnupg.org/source/pinentry.git + sha256sums = SKIP + +pkgname = pinentry-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4ca195d96720 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> + +pkgname=pinentry-git +pkgver=1.0.0.r29.g2b1fb2f +pkgrel=1 +pkgdesc="A small collection of dialog programs that allow GnuPG to read passphrases and PIN numbers in a secure manner" +arch=('i686' 'x86_64') +url="https://gnupg.org/software/pinentry/index.html" +license=('GPL2') +depends=('glibc' 'libassuan' 'libsecret' 'libcap' 'ncurses') +makedepends=('git' 'gcr' 'gtk2' 'qt5-base') +provides=('pinentry') +conflicts=('pinentry') +source=("git+https://dev.gnupg.org/source/pinentry.git") +sha256sums=('SKIP') + + +pkgver() { + cd "pinentry" + + git describe --long --tags | sed 's/^pinentry-//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "pinentry" + + ./autogen.sh --force + ./configure --prefix="/usr" \ + --enable-maintainer-mode \ + --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 "pinentry" + + make DESTDIR="$pkgdir" install +} |