Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PKGBUILD for make package for Arch Linux
- Loading branch information
Konstantin Shalygin
committed
May 14, 2015
1 parent
b40ed8b
commit c2ca2fd
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Maintainer: Konstantin Shalygin (k0ste@opentech.ru) | ||
|
||
pkgname='yandex-tank' | ||
pkgver='1.7.10' | ||
pkgrel='1' | ||
pkgdesc='Performance measurement tool' | ||
arch=('any') | ||
url='https://github.com/yandex/yandex-tank' | ||
license=('GPL') | ||
depends=('python2' 'python2-psutil' 'python2-ipaddr' 'python2-progressbar' 'phantom-engine-git') | ||
source=("http://ppa.launchpad.net/yandex-load/main/ubuntu/pool/main/y/yandextank/yandextank_${pkgver}.tar.gz") | ||
sha256sums=("5c2d9d948e1583183a623f430bf0b5327baca4fcbc9d7893f230b364a7aedc70") | ||
|
||
build() { | ||
cd "$srcdir/$pkgname" | ||
python2 setup.py build | ||
} | ||
|
||
package() { | ||
pushd "$srcdir/$pkgname" | ||
python2 setup.py install -O1 --root="$pkgdir" | ||
install -Dm644 "COPYING" "$pkgdir/usr/share/doc/$pkgname/COPYING" | ||
popd | ||
} |