core/libmtp/PKGBUILD
2018-04-11 14:40:34 +01:00

28 lines
609 B
Bash

pkgname=libmtp
pkgver=1.1.15
pkgrel=1
pkgdesc="Library implementation of the Media Transfer Protocol"
arch=('x86_64')
url="http://libmtp.sourceforge.net"
license=('LGPL')
depends=('libusb')
makedepends=('doxygen')
source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('d040900b46757e311b1fb3bfa8c05db09c8b6811e044bce8c88c9f3f6d3a3021')
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr --with-udev=/usr/lib/udev
make
}
check() {
cd ${pkgname}-${pkgver}
make -k check
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}