diff options
author | henil | 2020-12-18 11:58:42 +0530 |
---|---|---|
committer | henil | 2020-12-18 11:58:42 +0530 |
commit | a7b9c035dfd5522dd8c2623a53c8859b01eefd85 (patch) | |
tree | e8dcf110d88a832b19bb5a8141ecde13e4728c11 | |
download | aur-a7b9c035dfd5522dd8c2623a53c8859b01eefd85.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..911ce24b798c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = mosaic-git + pkgdesc = Terminal Workspace (WIP) + pkgver = 0.0 + pkgrel = 0 + url = https://www.github.com/mosaic-org/mosaic + arch = i686 + arch = x86_64 + arch = armv6h + arch = armv7h + license = MIT + makedepends = rust + makedepends = cargo + makedepends = git + provides = mosaic + conflicts = mosaic + source = git+https://github.com/mosaic-org/mosaic + sha256sums = SKIP + +pkgname = mosaic-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..94b4dc7a16a2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Henil <dedaniahenil@gmail.com> +pkgname=mosaic-git +_pkgname=mosaic +pkgver=0.0 +pkgrel=0 +epoch= +pkgdesc="Terminal Workspace (WIP)" +arch=('i686' 'x86_64' 'armv6h' 'armv7h') +url="https://www.github.com/mosaic-org/mosaic" +license=('MIT') +groups=() +depends=() +makedepends=('rust' 'cargo' 'git') +checkdepends=() +optdepends=() +provides=('mosaic') +conflicts=('mosaic') +options=() +source=("git+https://github.com/mosaic-org/mosaic") +sha256sums=(SKIP) + +build() { + cd "$srcdir/$_pkgname" + cargo build --locked --release --target-dir target +} + +package() { + cd "$srcdir/$_pkgname" + install -Dm755 target/release/mosaic "${pkgdir}/usr/bin/mosaic" +} |