PKGBUILDs/extra/podsleuth/PKGBUILD
2009-10-09 21:23:22 -05:00

35 lines
1.1 KiB
Bash

# $Id: $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Hyperair <hyperair@gmail.com>
pkgname=podsleuth
pkgver=0.6.4
pkgrel=1
pkgdesc="Tool to discover detailed information about Apple iPods"
arch=('i686' 'x86_64')
url="http://download.banshee-project.org/podsleuth/"
license=('MIT')
options=(!makeflags)
depends=('ndesk-dbus>=0.6.0' 'sg3_utils>=1.26' 'hal>=0.5.11')
replaces=('libipoddevice')
source=(http://download.banshee-project.org/${pkgname}/${pkgname}-${pkgver}.tar.bz2
sg3_utils-1.26.patch)
md5sums=('b51e7bc2dd3e2265e75a04fe35974c10'
'de3b52555f18c503392e941faebc37e5')
build() {
export MONO_SHARED_DIR="${srcdir}/.wabi"
mkdir -p "${MONO_SHARED_DIR}"
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/sg3_utils-1.26.patch" || return 1
aclocal -I m4 || return 1
autoconf || return 1
automake || return 1
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/var/cache/podsleuth" || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}