diff options
author | Mike R E Mallin | 2019-09-08 23:09:01 -0400 |
---|---|---|
committer | Mike R E Mallin | 2019-09-08 23:09:01 -0400 |
commit | bac3b2099e3a5e50a2a96dd4a89dfe9d483d7e5c (patch) | |
tree | e76847182689ba94f2d1e581236278b4f2179d49 | |
download | aur-bac3b2099e3a5e50a2a96dd4a89dfe9d483d7e5c.tar.gz |
Added 'pmccabe' package to AUR
- First commit with version 2.7 of 'pmccabe'
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 30 |
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2882aed5ff7b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = pmccabe + pkgdesc = A C/C++ code complexity analyzer + pkgver = 2.7 + pkgrel = 1 + url = https://people.debian.org/~bame/pmccabe + arch = x86_64 + arch = i686 + arch = arm + arch = armv6h + arch = armv7h + arch = aarch64 + license = GPLv2 + source = https://people.debian.org/~bame/pmccabe/pmccabe-2.7.tar.gz + md5sums = 4d6fb27428c01bb88878003fcc673cd9 + +pkgname = pmccabe + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..72e8ffc0db8a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..00130ff5ed40 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Mike Mallin <mike@mremallin.ca> +pkgname=pmccabe +pkgver=2.7 +pkgrel=1 +pkgdesc="A C/C++ code complexity analyzer" +# Only tested by the maintainer on x86_64. Debian package for 'pmccabe' +# shows it building successfully on many other architectures. +# https://packages.debian.org/stable/pmccabe +arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64') +url="https://people.debian.org/~bame/pmccabe" +license=('GPLv2') +source=("https://people.debian.org/~bame/pmccabe/$pkgname-$pkgver.tar.gz") +# No author checksum or signature available. +# This has been calculated by makepkg -g by the maintainer. +md5sums=('4d6fb27428c01bb88878003fcc673cd9') + +build() { + cd "$pkgname-$pkgver" + make +} + +check() { + cd "$pkgname-$pkgver" + make -k test +} + +package() { + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} |