diff options
author | Kenneth Endfinger | 2020-01-14 22:40:18 -0500 |
---|---|---|
committer | Kenneth Endfinger | 2020-01-14 22:40:18 -0500 |
commit | 5093181755df4da8ef330275e935a898672a0480 (patch) | |
tree | df555f0fe6e9e820b99af2c8fa6e67eaf26b3b96 | |
parent | b7625e940080ae291e3c5a79694ed65efdc08311 (diff) | |
download | aur-5093181755df4da8ef330275e935a898672a0480.tar.gz |
Use make instead of just python-setuptools for build.
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 11 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = python-blivet pkgdesc = A DBus service and python module for management of the system storage configuration pkgver = 3.1.6 - pkgrel = 3 + pkgrel = 4 url = https://fedoraproject.org/wiki/Blivet arch = any license = LGPL2.1 @@ -9,6 +9,7 @@ pkgbase = python-blivet checkdepends = python-mock checkdepends = python-dbus makedepends = python-setuptools + makedepends = make depends = python depends = python-six depends = python-pyparted @@ -5,7 +5,7 @@ pkgname=python-blivet pkgver=3.1.6 _tag="blivet-${pkgver}" -pkgrel=3 +pkgrel=4 pkgdesc='A DBus service and python module for management of the system storage configuration' arch=('any') license=('LGPL2.1') @@ -22,15 +22,20 @@ depends=('python' 'systemd-libs' ) checkdepends=('libselinux' 'python-mock' 'python-dbus') -makedepends=('python-setuptools') +makedepends=('python-setuptools' 'make') url='https://fedoraproject.org/wiki/Blivet' source=("${pkgname}-${pkgver}.tar.gz::https://github.com/storaged-project/blivet/archive/blivet-${pkgver}.tar.gz") sha512sums=('43a4233fcc696bb050ec5b9b3f2947efd2b6116409aa13025d09e99af2c9ef02df48e7e3087c2e4e2670c2ce2d0aa6587602c41e1af98f956bcf80f03464a622') +build() { + cd "${srcdir}/blivet-${_tag}" + make +} + package() { - cd "${srcdir}/blivet-${_tag}/" + cd "${srcdir}/blivet-${_tag}" - python setup.py install --root="${pkgdir}/" --optimize=1 + make DESTDIR="${pkgdir}" install } check() { |