Advertisement
jamesan

Fixes to PKGBUILD of AUR pkg: system-storage-manager-git

Jun 9th, 2018
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.40 KB | None | 0 0
  1. diff --git a/PKGBUILD b/PKGBUILD
  2. index 2468d42..649e9d9 100644
  3. --- a/PKGBUILD
  4. +++ b/PKGBUILD
  5. @@ -1,17 +1,18 @@
  6.  # Maintainer: Christian Hesse <mail@eworm.de>
  7. +# Contributor: James An <james@jamesan.ca>
  8.  
  9.  pkgname=system-storage-manager-git
  10. -pkgver=0.3.r1.g83f908a
  11. +pkgver=0.5.r0.g967ef60
  12.  pkgrel=1
  13.  pkgdesc='System Storage Manager (ssm) provides easy to use command line interface to manage your storage using various technologies like lvm, btrfs, encrypted volumes and possibly more - git checkout'
  14.  arch=('i686' 'x86_64')
  15.  url='http://sourceforge.net/p/storagemanager/home/Home/'
  16.  license=('GPL')
  17.  depends=('python2' 'lvm2' 'e2fsprogs' 'xfsprogs' 'cryptsetup' 'btrfs-progs' 'device-mapper' 'dmraid')
  18. -makedepends=('git')
  19. +makedepends=('git' 'python2-sphinx')
  20.  provides=(storagemanager)
  21.  conflicts=(storagemanager)
  22. -source=('system-storage-manager::git://git.code.sf.net/p/storagemanager/code')
  23. +source=('system-storage-manager::git+https://github.com/system-storage-manager/ssm.git')
  24.  sha256sums=('SKIP')
  25.  
  26.  pkgver() {
  27. @@ -30,9 +31,16 @@ prepare() {
  28.     sed -i "s/'AUTHORS', //" setup.py
  29.  }
  30.  
  31. -package() {
  32. +build() {
  33.     cd system-storage-manager
  34.  
  35. -   python2 setup.py install --root="${pkgdir}"
  36. +   python2 setup.py build
  37. +   make SPHINXBUILD=sphinx-build2 -C doc man
  38.  }
  39.  
  40. +
  41. +package() {
  42. +   cd system-storage-manager
  43. +
  44. +   python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build
  45. +}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement