diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 18 insertions, 11 deletions
@@ -1,17 +1,24 @@ -# Maintainer: Jon Gjengset <jon@thesquareplanet.com>, Saren Arterius <saren@wtako.net> +# Maintainer: éclairevoyant + pkgname=cpuset pkgver=1.6 -pkgrel=1 -pkgdesc="Cpuset is a Python application to make using the cpusets facilities in the Linux kernel easier." -arch=('any') -url="https://github.com/lpechacek/cpuset/" -license=('GPL2') -depends=('python2' 'python2-future' 'python2-configparser') +pkgrel=2 +pkgdesc="Python app to make using the cpusets facilities in the Linux kernel easier" +arch=(any) +url="https://github.com/lpechacek/$pkgname" +license=(GPL2) +depends=(python) +makedepends=(python-setuptools) options=('!emptydirs') -source=("https://github.com/lpechacek/cpuset/archive/v${pkgver}.tar.gz") -md5sums=('365dcccfef9ac095530821a7e711b308') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +b2sums=('389c274981fe9a23188da71ce0fbc1e0bcdfe6dbe0108bf45659511cbbf711022108914e16aa679c0934f9a5a06b69129738d5f85e96aeb7604cef9c840133a3') + +build() { + cd $pkgname-$pkgver + python setup.py build +} package() { - cd "$srcdir/$pkgname-$pkgver" - python2 setup.py install --root="$pkgdir/" --optimize=1 + cd $pkgname-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build } |