blob: a43d60e00b55961bd9a8a168adb9db88c274b79e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: John Ramsden <johnramsden [at] riseup [dot] net>
_pkgname=pyzfscmds
pkgname="python-${_pkgname}"
pkgver=0.1.5
_version_suffix="beta"
pkgrel=1
pkgdesc="ZFS CLI wrapper library"
arch=('any')
url="http://github.com/johnramsden/pyzfscmds"
license=('BSD' 'custom:BSD 3 clause')
depends=('zfs' 'python' 'python-setuptools')
makedepends=('git' 'python-pip')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/johnramsden/${_pkgname}/archive/v${pkgver}-${_version_suffix}.tar.gz")
md5sums=('9c0d7e53db7b49bb5e00cadceed0d70a')
conflicts=('python-pyzfscmds-git')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}-${_version_suffix}"
python setup.py build
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}-${_version_suffix}"
python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
install -d "${pkgdir}/usr/share/license/${pkgname}"
install -m 755 "LICENSE" "${pkgdir}/usr/share/license/${pkgname}/LICENSE"
}
|