summaryrefslogtreecommitdiff
path: root/community-testing/qpxtool/PKGBUILD
blob: 8d1cf584c1014422ddcea718e67495efea900097 (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
# $Id: PKGBUILD 63262 2012-01-30 19:06:37Z ibiru $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Krzysztof Stasiorowski <krzysiekst@gmail.com>

pkgname=qpxtool
pkgver=0.7.1_002
pkgrel=3
pkgdesc="Allows better controll over optical drives to include QChecks and optimization settings."
arch=('i686' 'x86_64')
url="http://qpxtool.sourceforge.net/"
license=('GPL')
depends=('qt')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
	libpng15.patch)
md5sums=('755321a0196b16d06857550aac74ff50'
         '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
  mkdir -p $pkgdir/usr/bin
  make DESTDIR=$pkgdir install
}