summaryrefslogtreecommitdiff
path: root/community/qpxtool/PKGBUILD
blob: 03bacd40e44bd98ff0b23a8acc7fbda1997afe5d (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
# $Id: PKGBUILD 15647 2010-04-13 11:41:23Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Krzysztof Stasiorowski <krzysiekst@gmail.com>

pkgname=qpxtool
pkgver=0.7.1_002
pkgrel=1
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=('qt')
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('755321a0196b16d06857550aac74ff50')

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

  # Fix strict aliasing warnings
  export CFLAGS="$CFLAGS -fno-strict-aliasing"
  sed -i 's|lib64|lib|' configure
  ./configure --prefix=/usr
  make || return 1
  mkdir -p $pkgdir/usr/bin
  make DESTDIR=$pkgdir install
}