update libmtp 1.1.9

This commit is contained in:
Weng Xuetian 2015-06-10 09:41:06 +00:00
parent eb28d19526
commit c3950f1c02

View File

@ -2,30 +2,29 @@
# Contributor: abveritas@chakra-project.org # Contributor: abveritas@chakra-project.org
pkgname=libmtp pkgname=libmtp
pkgver=1.1.8 pkgver=1.1.9
pkgrel=2 pkgrel=1
pkgdesc="Library implementation of the Media Transfer Protocol" pkgdesc="Library implementation of the Media Transfer Protocol"
arch=('x86_64') arch=('x86_64')
url="http://libmtp.sourceforge.net" url="http://libmtp.sourceforge.net"
license=('LGPL') license=('LGPL')
depends=('libusbx' 'libgcrypt') depends=('libusb' 'libgcrypt')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz") source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
md5sums=('f76abc22fdbe96e96f0066e0f2dc0efd') md5sums=('d515b38a5b5d5ef235b01ebba47412df')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
}
build() { build() {
cd "${srcdir}/${pkgname}-${pkgver}" cd ${pkgname}-${pkgver}
./configure --prefix=/usr --with-udev=/usr/lib/udev ./configure --prefix=/usr --with-udev=/usr/lib/udev
make make
} }
check() {
cd $pkgname-$pkgver
make -k check
}
package() { package() {
cd "${srcdir}/${pkgname}-${pkgver}" cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install
# fix broken udev rule # fix broken udev rule