summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlat2016-08-27 17:03:46 -0400
committerFlat2016-08-27 17:03:46 -0400
commit5efc28b4d9d3248142dcd529ce52246baca32416 (patch)
tree23c50d7db1d02cf9bf23fd12d05a4df044d5eb89
downloadaur-5efc28b4d9d3248142dcd529ce52246baca32416.tar.gz
Initial Commit
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD27
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ea44a952440
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+# Generated by mksrcinfo v8
+# Sat Aug 27 21:03:22 UTC 2016
+pkgbase = parallel-rust
+ pkgdesc = Inspired by GNU Parallel, a command-line CPU load balancer written in Rust.
+ pkgver = 0.1.1
+ pkgrel = 1
+ url = https://github.com/mmstick/parallel
+ arch = i686
+ arch = x86_64
+ license = MIT
+ makedepends = rust
+ makedepends = cargo
+ depends = gcc-libs-multilib
+ provides = parallel
+ conflicts = parallel
+ source = https://github.com/mmstick/parallel/archive/0.1.1.tar.gz
+ md5sums = 700a957a7a2cd92c47b5e7b9a158f1e5
+
+pkgname = parallel-rust
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a4f12c28d12
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Flat <Flat@imo.uto.moe>
+pkgname=parallel-rust
+pkgver=0.1.1
+pkgrel=1
+pkgdesc="Inspired by GNU Parallel, a command-line CPU load balancer written in Rust."
+arch=('i686' 'x86_64')
+url="https://github.com/mmstick/parallel"
+license=('MIT')
+depends=('gcc-libs-multilib')
+makedepends=('rust' 'cargo')
+provides=('parallel')
+conflicts=('parallel')
+source=("https://github.com/mmstick/parallel/archive/$pkgver.tar.gz")
+md5sums=('700a957a7a2cd92c47b5e7b9a158f1e5')
+
+build() {
+ cd "parallel-$pkgver"
+ cargo build --release
+}
+
+package() {
+ cd "parallel-$pkgver"
+ mkdir -p $pkgdir/usr/bin
+ mkdir -p $pkgdir/usr/share/licenses/$pkgname
+ install target/release/parallel $pkgdir/usr/bin
+ install LICENSE $pkgdir/usr/share/licenses/$pkgname
+}