summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorrevel2015-06-21 19:35:44 +0200
committerrevel2015-06-21 19:35:44 +0200
commit53128c0451ca2b6d84ed704c8727cec04e065c3b (patch)
treededbe9db98fb1749573ada1930a7b72a6a9fcb83
downloadaur-53128c0451ca2b6d84ed704c8727cec04e065c3b.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD31
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a8644b2a448
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = jthread
+ pkgdesc = Provides some classes to make use of threads easy on different platforms
+ pkgver = 1.3.1
+ pkgrel = 2
+ url = http://research.edm.uhasselt.be/~jori/page/index.php?n=CS.Jthread
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = cmake
+ depends = gcc-libs
+ source = http://research.edm.uhasselt.be/jori/jthread/jthread-1.3.1.tar.gz
+ md5sums = 3d0a8ce0d8f1507006dccc68f5c50b62
+ sha256sums = faefdaf0465bc459629e7569c5b37c08bd7fe7c061449f44d2a776cc1d892b50
+
+pkgname = jthread
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fe8a82856c7
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: revel <revelΘmuub·net>
+# Contributor: William Rea <sillywilly@gmail.com>
+# Contributor: Nathan O <ndowens.aur at gmail dot com>
+
+pkgname=jthread
+pkgver=1.3.1
+pkgrel=2
+pkgdesc='Provides some classes to make use of threads easy on different platforms'
+arch=('i686' 'x86_64')
+url='http://research.edm.uhasselt.be/~jori/page/index.php?n=CS.Jthread'
+license=('MIT')
+#options=('!libtool')
+depends=('gcc-libs')
+makedepends=('cmake')
+source=("http://research.edm.uhasselt.be/jori/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('3d0a8ce0d8f1507006dccc68f5c50b62')
+sha256sums=('faefdaf0465bc459629e7569c5b37c08bd7fe7c061449f44d2a776cc1d892b50')
+
+build() {
+ cd "$pkgname-$pkgver"
+# ./configure --prefix=/usr
+ cmake . -DCMAKE_INSTALL_PREFIX=/usr -DLIBRARY_INSTALL_DIR:PATH=lib
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 LICENSE.MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}