summaryrefslogtreecommitdiff
path: root/extra/gtkpod/PKGBUILD
blob: f56c3498e0dd5b132796b61ff4400bfd669e61b1 (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
# $Id: PKGBUILD 138768 2011-09-28 01:47:51Z kevin $
# Maintainer: Kevin Piche <kevin@archlinux.org>
# Contributor: Aaron Griffin <aaron@archlinux.org>

pkgname=gtkpod
pkgver=2.1.0
pkgrel=1
pkgdesc="A platform independent GUI for Apple's iPod using GTK2"
arch=('i686' 'x86_64' 'mips64el')
url="http://gtkpod.sourceforge.net"
license=('GPL')
depends=('anjuta' 'curl' 'dconf' 'flac' 'libid3tag' 'libgpod>=0.8.0')
makedepends=('flex' 'intltool')
optdepends=('libmp4v2: MP4/h264 support'
            'vorbis-tools: OGG support'
            'id3v2: mp3 conversion support')
install=gtkpod.install
source=(http://downloads.sourceforge.net/gtkpod/${pkgname}-${pkgver}.tar.gz)
md5sums=('8e01f7cf2db1a421140eab561aee26d7')

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
}