2020-11-15 23:41:32 +01:00
|
|
|
# Maintainer: Martchus <martchus@gmx.net>
|
|
|
|
# Contributor: Felix Golatofski <contact@xdfr.de>
|
|
|
|
# Contributor: Tom Nguyen <tom81094@gmail.com>
|
|
|
|
# Contributor: Antergos Developers <dev@antergos.com>
|
|
|
|
|
|
|
|
pkgname=mediawriter
|
|
|
|
_pkgname=MediaWriter
|
|
|
|
_author=FedoraQt
|
2022-05-10 12:16:07 +02:00
|
|
|
pkgver=5.0.0
|
2020-11-15 23:41:32 +01:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='Fedora Media Writer - Write Fedora Images to Portable Media'
|
2021-04-22 10:42:56 +02:00
|
|
|
arch=('x86_64')
|
2020-11-15 23:41:32 +01:00
|
|
|
url="https://github.com/${_author}/${_pkgname}"
|
|
|
|
license=('GPL2')
|
2022-05-10 12:16:07 +02:00
|
|
|
depends=('xz' 'qt6-base' 'qt6-imageformats' 'qt6-tools' 'qt6-declarative' 'qt6-5compat' 'qt6-svg'
|
|
|
|
'adwaita-qt6')
|
2020-11-15 23:41:32 +01:00
|
|
|
optdepends=('udisks2: Disk Management Service for disk installation')
|
2021-04-22 10:42:56 +02:00
|
|
|
makedepends=('cmake' 'ninja')
|
2020-11-15 23:41:32 +01:00
|
|
|
source=("https://github.com/${_author}/${_pkgname}/archive/${pkgver}.tar.gz")
|
2022-05-10 12:16:07 +02:00
|
|
|
sha256sums=('ea6b6271dbb2a1fcc15adca60d4f4cfd2000d77850fc7947919b2247f5439013')
|
2020-11-15 23:41:32 +01:00
|
|
|
|
|
|
|
build() {
|
2021-04-22 10:42:56 +02:00
|
|
|
cmake -G Ninja -B build -S "${_pkgname}-${pkgver}" \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBEXECDIR=lib
|
|
|
|
cmake --build build
|
2020-11-15 23:41:32 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
package() {
|
2021-04-22 10:42:56 +02:00
|
|
|
DESTDIR="$pkgdir" cmake --install build
|
2020-11-15 23:41:32 +01:00
|
|
|
}
|