mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-12 21:09:05 +08:00
41 lines
1.2 KiB
Bash
41 lines
1.2 KiB
Bash
|
#
|
||
|
# Apps Packages for Chakra, part of chakra-project.org
|
||
|
#
|
||
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
||
|
# Contributor: Det <nimetonmaili at gmail a-dot com>
|
||
|
# Contributor: Godane aka Christopher Rogers <slaxemulator@gmail.com>
|
||
|
|
||
|
pkgname=unetbootin
|
||
|
pkgver=581
|
||
|
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')
|
||
|
categories=('system')
|
||
|
screenshot=('http://sourceforge.net/dbimage.php?id=300347')
|
||
|
# kdebase-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=('8b905bfdab8bce78cb1d1d46b52807c3')
|
||
|
|
||
|
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
|
||
|
}
|