summaryrefslogtreecommitdiff
path: root/testing/gtkpod/PKGBUILD
blob: 7a3a1dff6e41c4855141557a63bd7b0bd6a33002 (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 156691 2012-04-22 23:50:01Z heftig $
# Maintainer: Kevin Piche <kevin@archlinux.org>
# Contributor: Aaron Griffin <aaron@archlinux.org>

pkgname=gtkpod
pkgver=2.1.1
pkgrel=2
pkgdesc="A platform independent GUI for Apple's iPod using GTK3"
arch=('i686' 'x86_64')
url="http://gtkpod.sourceforge.net"
license=('GPL')
depends=('anjuta' 'curl' 'flac' 'libid3tag' 'libgpod' 'awk')
makedepends=('flex' 'intltool')
optdepends=('libmp4v2: MP4/h264 support'
            'vorbis-tools: OGG support'
            'id3v2: mp3 conversion support')
install=gtkpod.install
options=('!libtool')
source=("http://downloads.sourceforge.net/gtkpod/${pkgname}-${pkgver}.tar.gz")
md5sums=('36fd0324fd1d1da00fcddacef1b09983')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  sed -i 's#python#python2#' scripts/sync-palm-jppy.py
  ./configure --prefix=/usr
  make
}

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