blob: 0e2aa3cebebea47f28fa4db1bc4b34854e44d87d (
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
30
31
32
|
# Maintainer: Nikos Skalkotos <skalkoto at gmail dot com>
# Contributor: Achilleas Pipinellis <axilleas archlinux info>
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: kfgz <kfgz at interia pl>
# Contributor: Gökmen Görgen <gkmngrgn at gmail dot com>
# Contributor: Baurzhan Muftakhidinov <baurthefirst (at) gmail (dot) com>
_pkgname=pyparted
pkgname=python-parted
pkgver=3.10.1
pkgrel=2
pkgdesc="Python module for GNU parted"
url="https://github.com/dcantrell/pyparted"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('python2' 'parted>=3.0')
makedepends=('pkg-config')
conflicts=('pyparted-git')
replaces=('pyparted')
source=("https://github.com/dcantrell/${_pkgname}/archive/${_pkgname}-${pkgver}.tar.gz")
build() {
cd "${srcdir}/${_pkgname}-${_pkgname}-${pkgver}"
python2 setup.py build
}
package() {
cd "${srcdir}/${_pkgname}-${_pkgname}-${pkgver}"
python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
}
sha512sums=('d2842ba919808ccb757f6852e17c725b7db6e94db31548366fbdf2376960f8cf6ce239cb33282b4eca02f20a94f85bd58e8fc1d40834670c9684f5903c3515e5')
|