summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Tiá2016-05-15 16:31:23 -0600
committerJavier Tiá2016-05-15 16:31:23 -0600
commit98003f97d6e191172f99f2f03b83fb45734adec1 (patch)
tree7d00fefd4aaa40e910d893a8c1c89c363d847431
downloadaur-98003f97d6e191172f99f2f03b83fb45734adec1.tar.gz
Bump up libdill 0.3.beta-1
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD40
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c9102b20896
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Sun May 15 22:30:28 UTC 2016
+pkgbase = libdill
+ pkgdesc = Structured concurrency in C
+ pkgver = 0.3.beta
+ pkgrel = 1
+ url = http://libdill.org/
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = gcc
+ depends = pkgconfig
+ options = !buildflags
+ source = https://github.com/sustrik/libdill/archive/0.3-beta.tar.gz
+ sha256sums = a07cf61a9a218dc40291004f5dd621a1ad427ed88afc456e54a18ae7d7d57387
+
+pkgname = libdill
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..453d4406514
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Javier Tiá <javier dot tia at gmail dot com>
+
+pkgname=libdill
+_ver=0.3
+_pkgver=${_ver}-beta
+pkgver=${_ver}.beta
+pkgrel=1
+pkgdesc='Structured concurrency in C'
+arch=('i686' 'x86_64')
+url='http://libdill.org/'
+depends=('pkgconfig')
+options=('!buildflags')
+makedepends=('gcc')
+license=('MIT')
+source=("https://github.com/sustrik/${pkgname}/archive/${_pkgver}.tar.gz")
+sha256sums=('a07cf61a9a218dc40291004f5dd621a1ad427ed88afc456e54a18ae7d7d57387')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${_pkgver}"
+ ./autogen.sh
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${_pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${_pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${_pkgver}/"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim:set ft=sh ts=2 sw=2 et: