updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / podsleuth / PKGBUILD
blob5416730bc13325b18564c289b3beb7a03d3d562b
1 # $Id: PKGBUILD 109121 2011-02-06 10:44:42Z andyrtr $
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Hyperair <hyperair@gmail.com>
5 pkgname=podsleuth
6 pkgver=0.6.7
7 pkgrel=1
8 pkgdesc="Tool to discover detailed information about Apple iPods"
9 arch=('any')
10 url="http://download.banshee-project.org/podsleuth/"
11 license=('MIT')
12 options=(!makeflags)
13 depends=('ndesk-dbus>=0.6.0' 'sg3_utils>=1.26' 'hal>=0.5.11')
14 replaces=('libipoddevice')
15 source=(http://download.banshee.fm/podsleuth/${pkgver}/${pkgname}-${pkgver}.tar.bz2
16         sg3_utils-1.26.patch)
17 md5sums=('987abf0992193ebc526952f86f64a72c'
18          'de3b52555f18c503392e941faebc37e5')
20 build() {
21   export MONO_SHARED_DIR="${srcdir}/.wabi"
22   mkdir -p "${MONO_SHARED_DIR}"
23   
24   cd "${srcdir}/${pkgname}-${pkgver}"
25 #  patch -Np1 -i "${srcdir}/sg3_utils-1.26.patch"
26 #  aclocal -I m4
27 #  autoconf
28 #  automake
29   ./configure --prefix=/usr \
30    --with-dbus-sys=/etc/dbus-1/system.d/
31   make
34 package() {
35   cd "${srcdir}/${pkgname}-${pkgver}"
36   make DESTDIR="${pkgdir}" install
37   install -m755 -d "${pkgdir}/var/cache/podsleuth"
38   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
39   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"