summaryrefslogtreecommitdiff
path: root/extra/gtkpod/PKGBUILD
blob: 7fa7f8e4f9557f9abca8f9763a3675a71dcd53d0 (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
# $Id: PKGBUILD 96753 2010-10-24 16:27:54Z ibiru $
# Maintainer: Kevin Piche <kevin@archlinux.org>
# Contributor: Aaron Griffin <aaron@archlinux.org>

pkgname=gtkpod
pkgver=1.0.0
pkgrel=1
pkgdesc="A platform independent GUI for Apple's iPod using GTK2"
arch=('i686' 'x86_64')
license=('GPL')
url="http://gtkpod.sourceforge.net"
install=gtkpod.install
depends=('libgpod>=0.8.0' 'libid3tag' 'flac' 'libvorbis' 'curl' 'libglade' 'hicolor-icon-theme')
optdepends=('libmp4v2: MP4/h264 support')
makedepends=('intltool')
source=(http://downloads.sourceforge.net/gtkpod/${pkgname}-${pkgver}.tar.gz)
md5sums=('cadd402dcd1cfbedda0357bf24965a7c')

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
}