mirror of
https://github.com/archlinux/aur.git
synced 2026-03-01 19:45:03 +01:00
[add] mon 1.2.3
This commit is contained in:
commit
7fdb3a0bff
2 changed files with 38 additions and 0 deletions
14
.SRCINFO
Normal file
14
.SRCINFO
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
pkgbase = mon
|
||||
pkgdesc = Simple single-process process monitoring program written in C
|
||||
pkgver = 1.2.3
|
||||
pkgrel = 1
|
||||
url = https://github.com/visionmedia/mon
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
depends = glibc
|
||||
source = mon-1.2.3.tar.gz::https://github.com/visionmedia/mon/archive/1.2.3.tar.gz
|
||||
sha256sums = 978711a1d37ede3fc5a05c778a2365ee234b196a44b6c0c69078a6c459e686ac
|
||||
|
||||
pkgname = mon
|
||||
|
||||
24
PKGBUILD
Normal file
24
PKGBUILD
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
|
||||
|
||||
pkgname=mon
|
||||
pkgver=1.2.3
|
||||
pkgrel=1
|
||||
pkgdesc="Simple single-process process monitoring program written in C"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://github.com/visionmedia/mon"
|
||||
license=('MIT')
|
||||
depends=('glibc')
|
||||
source=($pkgname-$pkgver.tar.gz::"https://github.com/visionmedia/mon/archive/$pkgver.tar.gz")
|
||||
sha256sums=('978711a1d37ede3fc5a05c778a2365ee234b196a44b6c0c69078a6c459e686ac')
|
||||
|
||||
build() {
|
||||
make -C mon-$pkgver
|
||||
}
|
||||
|
||||
package() {
|
||||
cd mon-$pkgver
|
||||
|
||||
install -Dm755 mon "$pkgdir"/usr/bin/mon
|
||||
install -d "$pkgdir"/usr/share/doc/mon
|
||||
cp -r example *.md "$pkgdir"/usr/share/doc/mon
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue