summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDX372020-01-04 14:38:42 +0700
committerDX372020-01-04 14:38:42 +0700
commit3224dda2ef0270393db354a372266cf305ae8f2c (patch)
treefddbe6020391441988942461de78325fa74e8e48 /PKGBUILD
parent07b8ba4cfc14b265f8b4e4398abbab612da5c338 (diff)
downloadaur-multibootusb.tar.gz
fixes
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d5557bbcbd8..85df56e0a09 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,17 +8,22 @@ pkgname=multibootusb
pkgver=9.2.0
pkgrel=4
pkgdesc="Boot multiple live Linux distros from a usb flash drive."
-arch=("any")
+arch=('any')
url="http://multibootusb.org"
-license=("GPL")
-depends=("python-pyqt5" "python-dbus" "mtools" "util-linux" "parted" "p7zip" "python-six" "python-pyudev")
+license=('GPL')
+depends=('python-pyqt5' 'python-dbus' 'mtools' 'parted' 'p7zip' 'python-pyudev')
-sha512sums=("461ce6edd835b2a017d96c3987338cd9004894949ac0b121fc289d100b7945dd89970f966e48310b97f312221a2f5a047190c55802d3a07a9eec0bf6ec22356d")
+sha512sums=('461ce6edd835b2a017d96c3987338cd9004894949ac0b121fc289d100b7945dd89970f966e48310b97f312221a2f5a047190c55802d3a07a9eec0bf6ec22356d')
source=("https://github.com/mbusb/$pkgname/archive/v${pkgver}.tar.gz")
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python setup.py build
+}
+
package () {
cd "$srcdir/$pkgname-$pkgver"
chmod 755 "$srcdir/$pkgname-$pkgver/data/multibootusb.desktop"
- python3 setup.py install --root="$pkgdir/" --optimize=1
- sed -i 's/\/usr\/local\/bin/\/usr\/bin/' "$pkgdir/usr/share/polkit-1/actions/org.debian.pkexec.run-multibootusb.policy"
+ python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+ sed -i "s/\/usr\/local\/bin/\/usr\/bin/" "$pkgdir/usr/share/polkit-1/actions/org.debian.pkexec.run-multibootusb.policy"
}