PKGBUILDs/extra/namcap/PKGBUILD
2009-10-09 21:23:22 -05:00

19 lines
567 B
Bash

# $Id: PKGBUILD 46363 2009-07-16 17:34:49Z hugo $
# Maintainer: Hugo Doria <hugo@archlinux.org>
pkgname=namcap
pkgver=2.3
pkgrel=1
pkgdesc="A Pacman package analyzer"
arch=('i686' 'x86_64')
url="http://projects.archlinux.org/?p=namcap.git"
license=('GPL')
depends=('python>=2.6' 'licenses')
source=(ftp://ftp.archlinux.org/other/$pkgname/${pkgname}-${pkgver}.tar.gz)
md5sums=('753380f95218415a4768d63c167b6a83')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./setup.py install --root=${pkgdir} || return 1
ln -s namcap.py ${pkgdir}/usr/bin/namcap || return 1
}