desktop/unetbootin/PKGBUILD
2016-05-24 00:54:40 +01:00

34 lines
1001 B
Bash

pkgname=unetbootin
pkgver=625
pkgrel=1
pkgdesc="Allows the creation of bootable Live USB drives."
url="http://unetbootin.sourceforge.net/"
license=('GPL3')
arch=('x86_64')
depends=('kde-runtime' 'libpng' 'mtools' 'p7zip' 'qt' 'syslinux')
groups=('system')
screenshot=('http://sourceforge.net/dbimage.php?id=300347')
# kde-runtime is added as dependency so kdesu is used to ask for password.
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-source-$pkgver.tar.gz")
md5sums=('fa7bc1aa37d04ad7f85ea85e5dbf68cc')
build() {
lupdate $pkgname.pro
lrelease $pkgname.pro
qmake
make
}
package() {
# Executable installation.
install -Dm755 $pkgname $pkgdir/usr/bin/$pkgname
# Translations installation.
mkdir -p $pkgdir/usr/share/$pkgname
install -m644 $pkgname_*.qm $pkgdir/usr/share/$pkgname/
# Desktop integration.
install -Dm644 $pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
install -Dm644 ${pkgname}_48.png $pkgdir/usr/share/pixmaps/$pkgname.png
}