summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Ruegge2020-02-15 11:57:51 +0100
committerChristoph Ruegge2020-02-15 12:16:31 +0100
commit63ac36245baf7a27ed8d337f7f4f8b9408e97648 (patch)
tree90049c49821fdeab607d6279b6bc978bfb380221
downloadaur-63ac36245baf7a27ed8d337f7f4f8b9408e97648.tar.gz
Init
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD23
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0c8d394f8df
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = pam-gnupg
+ pkgdesc = Unlock GnuPG keys on login
+ pkgver = 0.1
+ pkgrel = 1
+ url = https://github.com/cruegge/pam-gnupg
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ depends = pam
+ depends = gnupg
+ source = https://github.com/cruegge/pam-gnupg/archive/v0.1.tar.gz
+ sha256sums = b6e1a018185fb0ed467fa33e25998a9d666634da3828f8e4497e5d3739a59dc4
+
+pkgname = pam-gnupg
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2ad7d28816d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Christoph Ruegge <mail@cxcs.de>
+pkgname=pam-gnupg
+pkgver=0.1
+pkgrel=1
+pkgdesc="Unlock GnuPG keys on login"
+arch=('i686' 'x86_64')
+url="https://github.com/cruegge/pam-gnupg"
+license=('GPL3')
+depends=('pam' 'gnupg')
+source=("https://github.com/cruegge/${pkgname}/archive/v${pkgver}.tar.gz")
+sha256sums=('b6e1a018185fb0ed467fa33e25998a9d666634da3828f8e4497e5d3739a59dc4')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./autogen.sh
+ ./configure --prefix=/usr --with-moduledir=/usr/lib/security
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}