summaryrefslogtreecommitdiffstats
path: root/abs/core/python-parted/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/python-parted/PKGBUILD')
-rw-r--r--abs/core/python-parted/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/abs/core/python-parted/PKGBUILD b/abs/core/python-parted/PKGBUILD
index 759bddf..876f1b9 100644
--- a/abs/core/python-parted/PKGBUILD
+++ b/abs/core/python-parted/PKGBUILD
@@ -2,11 +2,11 @@ pkgname=python-parted
__pkgname=pyparted
pkgver=2.0.12
pkgver=3.4
-pkgrel=2
+pkgrel=3
pkgdesc="Python bindings for libparted"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
license=('LGPL' 'MPL')
-depends=('python' 'parted' 'python-decorator')
+depends=('python2' 'parted' 'python-decorator')
options=('!libtool')
source=(https://fedorahosted.org/releases/p/y/pyparted/pyparted-${pkgver}.tar.gz)
url="https://fedorahosted.org/pyparted/"
@@ -15,6 +15,9 @@ build() {
cd "${srcdir}/${__pkgname}-${pkgver}"
./configure --prefix=/usr || return 1
make || return 1
+}
+package(){
+ cd "${srcdir}/${__pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install || return 1
}
md5sums=('8fc485db0b88e59bbdfc4be8ba4068fa')