summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMantas Mikul─Śnas2016-03-17 08:30:00 +0200
committerMantas Mikul─Śnas2016-03-17 09:04:45 +0200
commit3dc9ba3ad4ba786ec8ce66f88bab98b4371743ec (patch)
tree772509f61ae4ca7f01c76ba6e6b1a66b9825cf29
downloadaur-3dc9ba3ad4ba786ec8ce66f88bab98b4371743ec.tar.gz
initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD34
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..072c682ebdf
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Thu Mar 17 07:04:41 UTC 2016
+pkgbase = voms
+ pkgver = 2.0.13
+ pkgrel = 1
+ url = http://italiangrid.github.io/voms/
+ arch = i686
+ arch = x86_64
+ depends = expat
+ depends = gsoap
+ depends = openssl
+ source = git+https://github.com/italiangrid/voms#commit=67eab8a269d99480f81af182ef09b2864d7147eb
+ sha256sums = SKIP
+
+pkgname = voms
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7b20923bdd2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+pkgname=voms
+pkgver=2.0.13
+pkgrel=1
+arch=(i686 x86_64)
+url="http://italiangrid.github.io/voms/"
+depends=(expat gsoap openssl)
+_gitrev="67eab8a269d99480f81af182ef09b2864d7147eb"
+source=("git+https://github.com/italiangrid/voms#commit=$_gitrev")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+ git describe --tags | sed 's/^v//; s/-/.r/; s/-/./g'
+}
+
+prepare() {
+ cd "$pkgname"
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd "$pkgname"
+ export GSOAP_SSL_PP_CFLAGS="$(pkg-config --cflags gsoapssl++ zlib)"
+ export GSOAP_SSL_PP_LIBS="$(pkg-config --libs gsoapssl++ zlib)"
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "$pkgname"
+ make DESTDIR="$pkgdir" install
+}
+
+# vim: ft=sh:ts=2:sw=2:et