summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnatol Pomozov2015-06-17 08:47:36 -0700
committerAnatol Pomozov2015-06-17 08:47:36 -0700
commitaa750c4f20af4011060436f07bbfda53a1ab7644 (patch)
tree58168a183511ea6bf7c7c31d1b7210125603ef53
downloadaur-aa750c4f20af4011060436f07bbfda53a1ab7644.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD39
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..192203b1164
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = libfiber-git
+ pkgdesc = A User Space Threading Library Supporting Multi-Core Systems
+ pkgver = r212.198c70e
+ pkgrel = 1
+ url = https://github.com/brianwatling/libfiber
+ arch = i686
+ arch = x86_64
+ license = Not
+ license = specified
+ makedepends = git
+ makedepends = cmake
+ source = git://github.com/brianwatling/libfiber
+ sha1sums = SKIP
+
+pkgname = libfiber-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..03c278b4cc2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
+
+pkgname=libfiber-git
+pkgver=r212.198c70e
+pkgrel=1
+pkgdesc='A User Space Threading Library Supporting Multi-Core Systems'
+arch=(i686 x86_64)
+url='https://github.com/brianwatling/libfiber'
+license=(Not specified)
+makedepends=(git cmake)
+source=(git://github.com/brianwatling/libfiber)
+sha1sums=('SKIP')
+
+pkgver() {
+ cd libfiber
+ # repo does not have any git tags yet
+ echo r$(git rev-list --count master).$(git rev-parse --short master)
+}
+
+prepare() {
+ cd libfiber
+ sed -e 's/ time / /g' -i Makefile
+}
+
+build() {
+ cd libfiber
+ make libfiber.so
+}
+
+check() {
+ cd libfiber
+ make runtests
+}
+
+package() {
+ cd libfiber
+ mkdir -p "$pkgdir/usr/lib"
+ install libfiber.so "$pkgdir/usr/lib"
+}