summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD11
3 files changed, 14 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1d35700131b..480383ce730 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Tue Mar 1 23:07:44 UTC 2016
pkgbase = rusti-git
pkgdesc = REPL for Rust
- pkgver = r121.13b5940
+ pkgver = r164.9d77720
pkgrel = 1
url = https://github.com/murarth/rusti
arch = i686
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..49f2463a608
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/pkg
+/src
+/rusti
+/rusti-git-*.pkg.*
diff --git a/PKGBUILD b/PKGBUILD
index fd133ae89b6..c4af0d83d27 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
-# Maintainer: Vlad M. <vlad@archlinux.net>
+# Maintainer: Alexandre B. <alexandre.bury@gmail.com>
+# Contributor: Vlad M. <vlad@archlinux.net>
pkgname=rusti-git
_pkgname=rusti
-pkgver=r121.13b5940
+pkgver=r164.9d77720
pkgrel=1
pkgdesc="REPL for Rust"
url="https://github.com/murarth/rusti"
@@ -27,6 +28,8 @@ build() {
}
package() {
- install -Dm755 "$srcdir/$_pkgname/target/release/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
- install -Dm644 "$srcdir/$_pkgname/"{LICENSE-APACHE,LICENSE-MIT} "$pkgdir/usr/share/licenses/$pkgname/"
+ install -D -m755 "$srcdir/$_pkgname/target/release/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
+ mkdir -p "$pkgdir/usr/share/licenses/$pkgname/"
+ install -D -m644 "$srcdir/$_pkgname/"{LICENSE-APACHE,LICENSE-MIT} "$pkgdir/usr/share/licenses/$pkgname/"
}
+