mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-13 03:42:37 +01:00
54 lines
1.6 KiB
Plaintext
54 lines
1.6 KiB
Plaintext
# Contributor: William Pitcock <nenolod@dereferenced.org>
|
|
# Maintainer: William Pitcock <nenolod@dereferenced.org>
|
|
pkgname=unetbootin
|
|
pkgver=583
|
|
pkgrel=0
|
|
pkgdesc="tool for building USB install media"
|
|
url="http://unetbootin.sourceforge.net/"
|
|
arch="all"
|
|
license="GPL"
|
|
depends="syslinux p7zip"
|
|
depends_dev=""
|
|
makedepends="qt-dev $depends_dev"
|
|
install=""
|
|
subpackages="$pkgname-lang"
|
|
source="http://unetbootin.sourceforge.net/unetbootin-source-clean-latest.tar.gz
|
|
allow-ntfs.patch"
|
|
|
|
_builddir="$srcdir"
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
lupdate unetbootin.pro
|
|
lrelease unetbootin.pro
|
|
qmake "DEFINES += NOSTATIC" "RESOURCES -= unetbootin.qrc"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
install -D -m755 "$srcdir"/unetbootin "$pkgdir"/usr/bin/unetbootin
|
|
}
|
|
|
|
lang() {
|
|
arch="noarch"
|
|
cd "$_builddir"
|
|
install -D -m644 "$srcdir"/unetbootin_*.qm "$subpkgdir"/usr/share/unetbootin
|
|
}
|
|
|
|
md5sums="ad35d814b8f5d9bf4a3563cacbf20296 unetbootin-source-clean-latest.tar.gz
|
|
a7d9ea8ed464600bc3d5b018ad6024f6 allow-ntfs.patch"
|
|
sha256sums="0fba985a6d4a7a4c388cb99d100cb46fbd9bbae831501ad887a8d5f148a24029 unetbootin-source-clean-latest.tar.gz
|
|
7e1153938a868d390bb0b54ade22299696e2d5c7a9d1347ecbe9d33d097e0b7b allow-ntfs.patch"
|
|
sha512sums="1106938218e965f6b6e7a86a8998642e824c6fb2a5b0cf79869151d7a768daa61a18c7308e646965315f7c83390e6a8d9e077c13ce6e94e748b77b10115b0bab unetbootin-source-clean-latest.tar.gz
|
|
7b5d415a226356697d7e4ce18d8e9cc4e7c5357ef94fc7a063a320f1f2fa5d03109bd399fafe4565144327643284d3b3ddbf57568cccf34f81e0bd61e151208b allow-ntfs.patch"
|