summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Lopes2017-12-10 18:06:47 +0000
committerJose Lopes2017-12-10 18:06:47 +0000
commitb477982a08d91616da69c59a3832cb6727c35f53 (patch)
treef7cad405c92a38e7a4b6550241957d5618158e9d
downloadaur-sipsak-git.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD37
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b0e08faf95e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = sipsak-git
+ pkgdesc = A small command line tool for developers and administrators of Session Initiation Protocol (SIP) applications.
+ pkgver = r493.976c052
+ pkgrel = 1
+ url = https://github.com/nils-ohlmeier/sipsak
+ arch = x86_64
+ groups = voip
+ license = GPL2
+ makedepends = git
+ depends = gnutls
+ depends = openssl
+ depends = c-ares
+ source = git+https://github.com/nils-ohlmeier/sipsak.git
+ md5sums = SKIP
+
+pkgname = sipsak-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..94cb6dfb9b2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Jose Lopes <josemslopes at gmail dot com>
+pkgname=sipsak-git
+pkgver=r493.976c052
+pkgrel=1
+pkgdesc='A small command line tool for developers and administrators of Session Initiation Protocol (SIP) applications.'
+arch=('x86_64')
+url='https://github.com/nils-ohlmeier/sipsak'
+license=('GPL2')
+groups=('voip')
+depends=('gnutls' 'openssl' 'c-ares')
+makedepends=('git')
+source=("${pkgname}::git+https://github.com/nils-ohlmeier/sipsak.git")
+noextract=()
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${pkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+ cd "${srcdir}/${pkgname}"
+ autoreconf --install
+}
+
+build() {
+ cd "${srcdir}/${pkgname}"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ make DESTDIR=${pkgdir} install
+}
+
+# vim:set ts=2 sw=2 et: