core/libmtp/PKGBUILD
2019-01-31 03:20:45 +01:00

28 lines
609 B
Bash

pkgname=libmtp
pkgver=1.1.16
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=('5b68f9dd1ed38de558de687f40e255a39e4d5e32ef3de601f0ac19dd5682bba0')
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
}