mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 10:24:37 +08:00
28 lines
609 B
Bash
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
|
|
}
|