desktop/unetbootin/PKGBUILD

34 lines
1010 B
Bash
Raw Normal View History

2011-08-24 19:44:00 +08:00
pkgname=unetbootin
pkgver=661
2012-01-05 21:27:02 +08:00
pkgrel=1
2011-08-24 19:44:00 +08:00
pkgdesc="Allows the creation of bootable Live USB drives."
url="http://unetbootin.sourceforge.net/"
license=('GPL3')
2013-01-05 03:42:50 +08:00
arch=('x86_64')
depends=('libpng' 'mtools' 'p7zip' 'qt' 'syslinux' 'kdesu')
2014-06-05 07:20:25 +08:00
groups=('system')
2012-07-20 08:52:00 +08:00
screenshot=('http://sourceforge.net/dbimage.php?id=300347')
# kdesu is added as dependency so kdesu is used to ask for password.
source=("https://github.com/$pkgname/$pkgname/releases/download/$pkgver/$pkgname-source-$pkgver.tar.gz")
md5sums=('eafb57095669add5d3eef49193bcb5a9')
2011-08-24 19:44:00 +08:00
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
2012-01-05 21:27:02 +08:00
}