Skip to content

Instantly share code, notes, and snippets.

@thebopshoobop
Last active September 21, 2016 18:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thebopshoobop/c5d0465e99bac7df4a3685ab8ff173c8 to your computer and use it in GitHub Desktop.
Save thebopshoobop/c5d0465e99bac7df4a3685ab8ff173c8 to your computer and use it in GitHub Desktop.
live-usb-install PKGBUILD updated to 2.5.11
# Submitter: andre.laszlo
# Maintainer: jooch
# Contributors: Florian Dejonckheere <florian@floriandejonckheere.be>, Jooch <jooch (at) gmx (dot) com>
pkgname=live-usb-install
pkgver=2.5.11
pkgrel=1
pkgdesc="LiveUSB Install - Create bootable usb sticks from a wide range of different Linux distributions"
url="http://live.learnfree.eu"
license=('GPL')
arch=('i686' 'x86_64')
source=('http://downloads.sourceforge.net/project/liveusbinstall/live-usb-install-2.5.11.tar.gz'
'live-usb-install.desktop')
md5sums=('7d7d9811bd3e5d72d1e04f3855ef0c3c'
'3c0c278b60d2f6fe8887a94198b1796f')
depends=('python2'
'pygtk'
'libglade'
'syslinux'
'wget'
'p7zip'
'mtools'
'unrar'
'parted'
'gksu'
'python2-dbus')
optdepends=('python-libtorrent: needed for downloading some distributions')
conflicts=('live-usb-install<2.5.11')
install=live-usb-install.install
package(){
cd ${srcdir}/${pkgname}
# Python2 hack
sed -i 's!#\!/usr/bin/env python!#\!/usr/bin/env python2!g' live-usb-install.py
mkdir -p ${pkgdir}/usr/share/{${pkgname},pixmaps,applications}
install -Dm644 appversion.py\
asubprocess.py\
live-usb-install.py\
live-usb-install.glade\
logo.png\
${pkgdir}/usr/share/${pkgname}
cp -r presets\
pyudev\
locale\
syslinux\
templates\
wingrub\
${pkgdir}/usr/share/${pkgname}
install -Dm644 logo.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png
install -Dm644 ${srcdir}/live-usb-install.desktop ${pkgdir}/usr/share/applications/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment