summaryrefslogtreecommitdiff
path: root/community/qpxtool/PKGBUILD
blob: f48de07f5f6205180b4bd4b163e5d3cc11202bc3 (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
32
# $Id: PKGBUILD 85393 2013-03-01 10:38:26Z andrea $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Krzysztof Stasiorowski <krzysiekst@gmail.com>

pkgname=qpxtool
pkgver=0.7.2
pkgrel=2
pkgdesc="Allows better controll over optical drives to include QChecks and optimization settings."
arch=('i686' 'x86_64' 'mips64el')
url="http://qpxtool.sourceforge.net/"
license=('GPL')
depends=('qt4')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
	libpng15.patch)
md5sums=('b1235e74b8ef4fe087a6b64f5cfca14a'
         'ab9af7610277652c77c6d114422b2266')

build() {
  cd $srcdir/$pkgname-$pkgver
  # Fix strict aliasing warnings
  export CFLAGS="$CFLAGS -fno-strict-aliasing"
  sed -i 's|lib64|lib|' configure
  patch -p1 <$srcdir/libpng15.patch
  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  mkdir -p $pkgdir/usr/bin
  make DESTDIR=$pkgdir install
}