diff options
author | Andrea Scarpino | 2015-08-05 18:35:54 +0200 |
---|---|---|
committer | Andrea Scarpino | 2015-08-05 18:35:54 +0200 |
commit | 15ee3d49609c3a81550a616996ce08d4b043a683 (patch) | |
tree | a8a3a1ee0364815c72fc8fbe98d8d37d2d842c83 | |
download | aur-15ee3d49609c3a81550a616996ce08d4b043a683.tar.gz |
First version
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 38 |
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2d03a318c60a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = kwallet-pam-git + pkgdesc = Unlock KWallet using PAM + pkgver = r68.e411bd7 + pkgrel = 1 + url = https://projects.kde.org/projects/playground/base/kwallet-pam + arch = i686 + arch = x86_64 + license = GPL + makedepends = git + makedepends = cmake + depends = kwallet + depends = pam + provides = kwallet-pam + conflicts = kwallet-pam + source = git://anongit.kde.org/kwallet-pam.git + md5sums = SKIP + +pkgname = kwallet-pam-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..799cada6f8f7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> + +pkgname=kwallet-pam-git +pkgver=r68.e411bd7 +pkgrel=1 +pkgdesc='Unlock KWallet using PAM' +url='https://projects.kde.org/projects/playground/base/kwallet-pam' +license=('LGPL') +license=('GPL') +arch=('i686' 'x86_64') +depends=('kwallet' 'pam') +conflicts=('kwallet-pam') +provides=('kwallet-pam') +makedepends=('git' 'cmake') +source=('git://anongit.kde.org/kwallet-pam.git') +md5sums=('SKIP') + +pkgver() { + cd kwallet-pam + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../kwallet-pam \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_LIBDIR=usr/lib + make +} + +package() { + cd build + make DESTDIR="${pkgdir}" install +} |