diff options
author | Michel Zou | 2017-10-07 13:45:16 +0200 |
---|---|---|
committer | Michel Zou | 2017-10-07 13:45:16 +0200 |
commit | e5ce518ed7a1390918f51cb73b7c17d49502dd58 (patch) | |
tree | 894d9d377a1851ca2e46d067812fe494feb5de50 /PKGBUILD | |
download | aur-python2-meliae.tar.gz |
0.4.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6e1c59a15ed4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +pkgname=('python2-meliae') +pkgver=0.4.0 +pkgrel=1 +pkgdesc="Python Memory Usage Analyzer" +url="https://launchpad.net/meliae" +arch=(any) +license=('GPL') +makedepends=('python2-setuptools' 'cython2') +depends=('python2') +source=("https://pypi.io/packages/source/m/meliae/meliae-${pkgver}.tar.gz") +md5sums=('c704f4a314927fe96919018f67b2d3f3') + +prepare() { + cd "${srcdir}"/meliae-$pkgver +} + +build() { + cd "${srcdir}"/meliae-$pkgver + python2 setup.py build +} + +package() { + cd "${srcdir}/meliae-$pkgver" + python2 setup.py install --root="${pkgdir}" --optimize=1 +} + |