summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d522204084b177652fccbc386380e8b5d51d76df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
pkgname=alt-media-writer
_pkgname=ALTMediaWriter
_author=altlinux
pkgver=0.6.1
pkgrel=1
pkgdesc='ALT Media Writer is a tool that helps users put ALT images on their portable drives such as flash disks.'
arch=('any')
url="https://github.com/${_author}/${_pkgname}"
license=('GPL2')
depends=('xz' 'qt5-base' 'qt5-imageformats' 'qt5-tools' 'qt5-declarative' 'qt5-graphicaleffects' 'qt5-svg'
         'qt5-quickcontrols' 'qt5-x11extras')
optdepends=('udisks2: Disk Management Service for disk installation')
source=("https://github.com/altlinux/ALTMediaWriter/archive/master.zip")
md5source=('c31e795400cd7748001ed99744a543ef')

build() {
  cd "${_pkgname}-${pkgver}"

  qmake-qt5 PREFIX=/usr .
  make
}


package() {
  cd "${_pkgname}-${pkgver}"

  INSTALL_ROOT="${pkgdir}" make install
}