diff options
author | Antoine Lubineau | 2013-04-17 08:44:58 +0200 |
---|---|---|
committer | Antoine Lubineau | 2013-04-17 08:44:58 +0200 |
commit | fdfe5ae185132c441b12de010e8227145bc35937 (patch) | |
tree | 15b2a5e00225c22fe209028a664d340ad9874afa | |
download | aur-fdfe5ae185132c441b12de010e8227145bc35937.tar.gz |
numatop: new package
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 0 | ||||
-rw-r--r-- | PKGBUILD | 25 |
3 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..24ad432a6f82 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = numatop + pkgdesc = Observation tool for NUMA systems + pkgver = 1.0 + pkgrel = 1 + url = https://01.org/numatop/ + arch = i686 + arch = x86_64 + license = custom + depends = numactl + source = https://01.org/sites/default/files/downloads/numatop_linux_1.0.tar_4.gz + sha256sums = 8f8b80d006d6fd31f4d63b1bc083ee24d3a7190519952bb7a031eeef58f9fabd + +pkgname = numatop + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/.gitignore diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7d86b18a57f5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Antoine Lubineau <antoine@lubignon.info> + +pkgname=numatop +pkgver=1.0 +pkgrel=1 +pkgdesc="Observation tool for NUMA systems" +arch=('i686' 'x86_64') +url="https://01.org/numatop/" +license=('custom') +depends=('numactl') +source=("https://01.org/sites/default/files/downloads/numatop_linux_${pkgver}.tar_4.gz") +sha256sums=('8f8b80d006d6fd31f4d63b1bc083ee24d3a7190519952bb7a031eeef58f9fabd') + +build() { + cd "$srcdir/$pkgname" + make + gzip -c numatop.8 > numatop.8.gz +} + +package() { + cd "$srcdir/$pkgname" + install -D --mode=0755 numatop "${pkgdir}/usr/bin/numatop" + install -D --mode=0644 numatop.8.gz "${pkgdir}/usr/share/man/man8/numatop.8.gz" + install -D --mode=0644 COPYING "${pkgdir}/usr/share/licenses/numatop/LICENSE" +} |