summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD30
2 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3141d4ee03d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = gpg-tools-git
+ pkgdesc = Wrapper for gpg-agent integration
+ pkgver = 1
+ pkgrel = 1
+ url = http://github.com/vodik/gpg-tools
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = ragel
+ depends = gnupg
+ provides = gpg-tools
+ conflicts = gpg-tools
+ source = git+git://github.com/vodik/gpg-tools.git
+ sha1sums = SKIP
+
+pkgname = gpg-tools-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d02cfe1cc87
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Simon Gomizelj <simongmzlj@gmail.com>
+
+pkgname=gpg-tools-git
+pkgver=1
+pkgrel=1
+pkgdesc="Wrapper for gpg-agent integration"
+arch=('i686' 'x86_64')
+url="http://github.com/vodik/gpg-tools"
+license=('GPL')
+depends=('gnupg')
+makedepends=('git' 'ragel')
+conflicts=('gpg-tools')
+provides=('gpg-tools')
+source=('git+git://github.com/vodik/gpg-tools.git')
+sha1sums=('SKIP')
+
+pkgver() {
+ cd "gpg-tools"
+ git describe | sed 's/^v//;s/-/./g'
+}
+
+build() {
+ make -C "gpg-tools"
+}
+
+package() {
+ make -C "gpg-tools" DESTDIR="$pkgdir" install
+}
+
+# vim: ft=sh syn=sh et