reaganmcf / lightmon

A lightweight, cross-platform, language-agnostic "run code on file change" tool, inspired by Nodemon
GNU General Public License v3.0
15 stars 2 forks source link

Arch User Repository Installation Method #34

Closed reaganmcf closed 3 years ago

reaganmcf commented 3 years ago

Users can install lightmon using an AUR helper such as yay

reaganmcf commented 3 years ago

This feature is live. Since I run Manjaro (based on Arch) here is the output from running it on my machine:

$ yay -S lightmon
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1]  lightmon-0.2.0-1

  1 lightmon                                 (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/1): /home/rmcf/.cache/yay/lightmon
:: Downloaded PKGBUILD (1/1): lightmon
  1 lightmon                                 (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> N
:: (1/1) Parsing SRCINFO: lightmon
==> Making package: lightmon 0.2.0-1 (Mon 03 May 2021 01:56:12 PM EDT)
==> Retrieving sources...
  -> Cloning lightmon git repo...
Cloning into bare repository '/home/rmcf/.cache/yay/lightmon/lightmon'...
remote: Enumerating objects: 583, done.
remote: Counting objects: 100% (68/68), done.
remote: Compressing objects: 100% (38/38), done.
remote: Total 583 (delta 36), reused 42 (delta 27), pack-reused 515
Receiving objects: 100% (583/583), 3.31 MiB | 2.15 MiB/s, done.
Resolving deltas: 100% (285/285), done.
==> Validating source files with sha256sums...
    lightmon ... Skipped
==> Making package: lightmon 0.2.0-1 (Mon 03 May 2021 01:56:14 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating lightmon git repo...
Fetching origin
==> Validating source files with sha256sums...
    lightmon ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of lightmon git repo...
Cloning into 'lightmon'...
done.
==> Starting prepare()...
==> Sources are ready.
==> Making package: lightmon 0.2.0-1 (Mon 03 May 2021 01:56:16 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
   Compiling libc v0.2.92
   Compiling log v0.4.14
   Compiling cfg-if v1.0.0
   Compiling memchr v2.3.4
   Compiling bitflags v1.2.1
   Compiling cfg-if v0.1.10
   Compiling slab v0.4.2
   Compiling ryu v1.0.5
   Compiling serde v1.0.125
   Compiling lazycell v1.3.0
   Compiling unicode-width v0.1.8
   Compiling serde_json v1.0.64
   Compiling regex-syntax v0.6.23
   Compiling same-file v1.0.6
   Compiling bitflags v0.9.1
   Compiling yaml-rust v0.3.5
   Compiling strsim v0.6.0
   Compiling itoa v0.4.7
   Compiling termcolor v1.1.2
   Compiling humantime v2.1.0
   Compiling vec_map v0.8.2
   Compiling ansi_term v0.9.0
   Compiling textwrap v0.9.0
   Compiling walkdir v2.3.2
   Compiling aho-corasick v0.7.15
   Compiling net2 v0.2.37
   Compiling iovec v0.1.4
   Compiling atty v0.2.14
   Compiling inotify-sys v0.1.5
   Compiling filetime v0.2.14
   Compiling clap v2.27.1
   Compiling inotify v0.7.1
   Compiling regex v1.4.5
   Compiling mio v0.6.23
   Compiling mio-extras v2.0.6
   Compiling env_logger v0.8.3
   Compiling notify v4.0.15
   Compiling lightmon v0.2.0-alpha.0 (/home/rmcf/.cache/yay/lightmon/src/lightmon)
    Finished release [optimized] target(s) in 24.22s
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "lightmon"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: lightmon 0.2.0-1 (Mon 03 May 2021 01:56:41 PM EDT)
==> Cleaning up...
 -> Found git repo: github.com/reaganmcf/lightmon.git
[sudo] password for rmcf:
loading packages...
warning: lightmon-0.2.0-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) lightmon-0.2.0-1

Total Installed Size:  1.68 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring       [############################################################################] 100%
(1/1) checking package integrity     [############################################################################] 100%
(1/1) loading package files          [############################################################################] 100%
(1/1) checking for file conflicts    [############################################################################] 100%
(1/1) checking available disk        [############################################################################] 100%
:: Processing package changes...
(1/1) reinstalling lightmon          [############################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...