summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3458be4b0310256ad885066346e6c535d8753666 (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
29
30
31
# Maintainer: codestation <codestation404@gmail.com>

pkgname=qcma
pkgver=0.4.0
pkgrel=1
pkgdesc="Content Manager Assistant for the PS Vita"
arch=("i686" "x86_64")
url="https://github.com/codestation/qcma"
license=('GPL')
makedepends=('qt5-tools')
depends=('qt5-base' 'libvitamtp>=2.5.9' 'ffmpeg' 'libnotify')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/codestation/${pkgname}/archive/v${pkgver}.tar.gz" "qcma.install")
install=qcma.install
sha256sums=('593940d97e01388f8ab49e67398a50e3d16ba143694c9d62875071d84ae6461c' '775ee63487691792e3286d592193b65e7c6b1cd319985ef1ab18f0dc80e42fb6')

prepare() {
   cd $pkgname-$pkgver
}

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  lrelease-qt5 common/resources/translations/*.ts
  qmake-qt5 qcma.pro PREFIX="/usr"
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make INSTALL_ROOT="${pkgdir}" install
}