diff options
author | Ponas | 2020-02-07 22:00:34 +0200 |
---|---|---|
committer | Ponas | 2020-02-07 22:00:34 +0200 |
commit | c7ae3c091c92b1b7c97461ffda40e93549daf1a2 (patch) | |
tree | f7a2672a0732de3bb5a58341da0214cd3dc3a342 | |
download | aur-c7ae3c091c92b1b7c97461ffda40e93549daf1a2.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9590183802cc --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = rlaunch + pkgdesc = A fast and light-weight application launcher + pkgver = 1.0.0 + pkgrel = 1 + url = https://github.com/PonasKovas/rlaunch + arch = x86_64 + license = MIT + makedepends = cargo + source = rlaunch-1.0.0.tar.gz::https://github.com/PonasKovas/rlaunch/archive/1.0.0.tar.gz + md5sums = 2809425f9e267f703c03a204b10557e5 + +pkgname = rlaunch + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3d1966651653 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Ponas <mykolas.peteraitis@gmail.com> +pkgname="rlaunch" +pkgver=1.0.0 +pkgrel=1 +pkgdesc="A fast and light-weight application launcher" +arch=('x86_64') +url="https://github.com/PonasKovas/rlaunch" +license=('MIT') +makedepends=('cargo') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/PonasKovas/rlaunch/archive/${pkgver}.tar.gz") +md5sums=('2809425f9e267f703c03a204b10557e5') + +build () { + cd "$srcdir/$pkgname-$pkgver" + RUSTUP_TOOLCHAIN=stable \ + cargo build --release --locked +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + install -Dm755 target/release/rlaunch "${pkgdir}/usr/bin/rlaunch" +}
\ No newline at end of file |