desktop/unetbootin/PKGBUILD

34 lines
1002 B
Bash
Raw Normal View History

2011-08-24 19:44:00 +08:00
pkgname=unetbootin
2017-12-05 22:01:09 +08:00
pkgver=657
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=('kde-runtime' 'libpng' 'mtools' 'p7zip' 'qt' 'syslinux')
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')
2015-11-28 21:11:17 +08:00
# kde-runtime is added as dependency so kdesu is used to ask for password.
2017-12-05 22:01:09 +08:00
source=("https://downloads.sourceforge.net/$pkgname/$pkgname-source-$pkgver.tar.gz")
md5sums=('50ad69c1d703e635d30c3aa4305093f7')
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
}