Date: Monday, August 19, 2013 @ 11:34:49 Author: angvp Revision: 95990
archrelease: copy trunk to community-testing-any Added: python2-apptools/repos/community-testing-any/ python2-apptools/repos/community-testing-any/PKGBUILD (from rev 95989, python2-apptools/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: python2-apptools/repos/community-testing-any/PKGBUILD (from rev 95989, python2-apptools/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2013-08-19 09:34:49 UTC (rev 95990) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Andrzej Giniewicz <ggi...@gmail.com> + +pkgname=python2-apptools +pkgver=4.2.0 +pkgrel=2 +pkgdesc="Application tools" +arch=('any') +url="https://github.com/enthought/apptools" +license=('BSD') +depends=('python2-configobj' 'python2-traitsui') +makedepends=('python2-setuptools') +options=(!emptydirs) + +source=("$pkgname-$pkgver.tar.gz::https://github.com/enthought/apptools/archive/${pkgver}.tar.gz") +md5sums=('7b10c256c248cc0b89f7e1dad47f6972') + +build() { + cd "$srcdir"/apptools-$pkgver + + python2 setup.py build +} + +package() { + cd "$srcdir"/apptools-$pkgver + + python2 setup.py install --root="$pkgdir"/ --optimize=1 + + install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} +