yochananmarqos

sysmontask

Mar 1st, 2021 (edited)
226
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=sysmontask
  2. _gitname=SysMonTask
  3. pkgver=1.1.1_beta
  4. pkgrel=1
  5. pkgdesc="System Monitor With UI Like Windows"
  6. arch=('any')
  7. url="https://github.com/KrispyCamel4u/SysMonTask"
  8. license=('MIT')
  9. depends=('python' 'python-psutil>=5.8' 'python-gobject' 'python-cairo'
  10.          'python-xxhash' 'libwnck3' 'gtk3' 'zenity')
  11. makedepends=('python-setuptools')
  12. source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
  13. sha256sums=('d7d184678886e46efc51ea2c890e0496c0871e0674b804dc4b3cb2027a74f13b')
  14.  
  15. build() {
  16.     cd "$_gitname-$pkgver"
  17.     python setup.py build
  18. }
  19.  
  20. package() {
  21.     cd "$_gitname-$pkgver"
  22.     export PYTHONHASHSEED=0
  23.     python setup.py install --root="$pkgdir" --optimize=1 --skip-build
  24.  
  25.     install -d "$pkgdir/usr/share/licenses/$pkgname"
  26.     mv "$pkgdir/usr/share/doc/$pkgname/LICENSE" \
  27.         "$pkgdir/usr/share/licenses/$pkgname"
  28. }
RAW Paste Data