summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ce74ede7f6d9ea8068e779f688489e3fcae2cba2 (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
# Maintainer: jaco <jaco[at]autistici[dot]org>
pkgname=esr-disc-patcher-qt4-git
pkgver=0.24a
pkgrel=1
pkgdesc="A tool to patch DVD disc images for the Sony PlayStation 2 game console to make them burnable and working with ESR, an app for the PlayStation 2 made to play those burned games without swapping"
license=("GPLv3")
url="http://psx-scene.com/forums/f164/esr-disc-patcher-linux-mac-qt4-port-60096/"
depends=('qt4')
makedepends=('git' 'qt4' 'make')
arch=('any')
source=("git://github.com/antipatico/esr-disc-patcher-qt4.git"
        "esr-disc-patcher-qt4.desktop")
md5sums=('SKIP'
         'd1c13874d620685fc20388f47e345ac1')

build() {
  cd "${srcdir}/esr-disc-patcher-qt4"
  git checkout C++11
  qmake-qt4 -project
  qmake-qt4
  make
}

package() {
  install -Dm 644 "${srcdir}/esr-disc-patcher-qt4.desktop" "${pkgdir}/usr/share/applications/esr-disc-patcher-qt4.desktop"

  cd "${srcdir}/esr-disc-patcher-qt4"
  install -Dm 755 esr-disc-patcher-qt4 "${pkgdir}/usr/bin/esr-disc-patcher-qt4"
  install -Dm 644 esr.png "${pkgdir}/usr/share/pixmaps/esr-disc-patcher.png"
}