diff options
author | eyelash | 2016-12-01 13:07:43 +0100 |
---|---|---|
committer | eyelash | 2016-12-01 13:07:43 +0100 |
commit | 7aff0fcea8af3b23c3502cccd6cb3084375cf7d9 (patch) | |
tree | 322518f05db0a1d2699b7dc87c158731d8f17117 | |
download | aur-7aff0fcea8af3b23c3502cccd6cb3084375cf7d9.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d7db0aa76339 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = xi-core-git + pkgdesc = A modern editor with a backend written in Rust. + pkgver = r242.80445b9 + pkgrel = 1 + url = https://github.com/google/xi-editor + arch = i686 + arch = x86_64 + license = Apache + makedepends = git + makedepends = cargo + conflicts = xi-core + source = git+https://github.com/google/xi-editor.git + sha256sums = SKIP + +pkgname = xi-core-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..098be4874452 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: eyelash <eyelash@users.noreply.github.com> + +pkgname=xi-core-git +pkgver=r242.80445b9 +pkgrel=1 +pkgdesc='A modern editor with a backend written in Rust.' +arch=('i686' 'x86_64') +url='https://github.com/google/xi-editor' +license=('Apache') +makedepends=('git' 'cargo') +conflicts=('xi-core') +source=('git+https://github.com/google/xi-editor.git') +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/xi-editor" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$srcdir/xi-editor/rust" + cargo install --root "$pkgdir/usr" +} |