diff options
author | Andrej Radovic | 2018-05-12 17:50:08 +0200 |
---|---|---|
committer | Andrej Radovic | 2018-05-12 17:50:08 +0200 |
commit | 64f073a6996b4f0a6f51946c8d05347483d176b9 (patch) | |
tree | 6817c3afefd728b96b85748c8936befd373e5f58 /PKGBUILD | |
download | aur-64f073a6996b4f0a6f51946c8d05347483d176b9.tar.gz |
Initial commit - git version on AUR
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..197363643ca2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Andrej Radovic <r.andrej@gmail.com> + +pkgname=multibootusb-git +pkgver=20180505.d2099ad +pkgrel=1 +pkgdesc="Boot multiple live Linux distros from a usb flash drive." +arch=("any") +url="http://multibootusb.org" +license=("GPL") +depends=("python-pyqt5" "pyqt5-common" "python-dbus" "mtools" "util-linux" "parted" "p7zip" "python-six" "python-pyudev") +makedepends=("git") +provides=("multibootusb") +conflicts=("multibootusb") +source=("${pkgname}"'::git+git://github.com/mbusb/multibootusb.git') +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/${pkgname}" + echo "$(git log -1 --format="%cd" --date=short | tr -d '-').$(git log -1 --format="%h")" +} + +package () { + cd "$srcdir/$pkgname" + chmod 755 "$srcdir/$pkgname/data/multibootusb.desktop" + python3 setup.py install --root="$pkgdir/" --optimize=1 +} |