core/libgpod/PKGBUILD

35 lines
1.0 KiB
Bash
Raw Normal View History

2012-06-13 12:19:25 +08:00
# maintainer abveritas@chakra-project.org
2010-03-14 23:48:48 +08:00
pkgname=libgpod
2014-12-19 00:37:15 +08:00
pkgver=0.8.3
pkgrel=1
2010-03-14 23:48:48 +08:00
pkgdesc="libgpod is a shared library to access the contents of an iPod"
arch=('x86_64')
2010-03-14 23:48:48 +08:00
license=('LGPL')
2013-05-19 01:09:14 +08:00
depends=('mutagen' 'sg3_utils' 'libplist' 'libimobiledevice' 'gdk-pixbuf2')
2014-12-19 22:08:14 +08:00
makedepends=('intltool' 'swig' 'docbook-xsl' 'python2-gobject')
2010-03-14 23:48:48 +08:00
url="http://www.gtkpod.org/libgpod.html"
source=("http://downloads.sourceforge.net/sourceforge/gtkpod/${pkgname}-${pkgver}.tar.bz2")
2014-12-19 00:37:15 +08:00
md5sums=('f8a0b7a34e768e33a708e8dd172bd6f8')
2010-03-14 23:48:48 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
2014-12-19 00:37:15 +08:00
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-udev-dir=/usr/lib/udev \
--enable-udev \
2014-12-19 22:08:14 +08:00
--with-python=/usr/bin/python2 \
2014-12-19 00:37:15 +08:00
--disable-fast-install \
--disable-static \
--without-hal
make
2012-06-13 12:19:25 +08:00
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
2014-12-19 22:08:14 +08:00
make DESTDIR="${pkgdir}" install
2012-06-13 12:19:25 +08:00
#copy headers
cp -v ${srcdir}/${pkgname}-${pkgver}/src/*.h ${pkgdir}/usr/include/gpod-1.0/gpod/
2010-03-14 23:48:48 +08:00
}