libmtp: switch to /usr.
This commit is contained in:
parent
af8f2e9359
commit
a15869d17f
1 changed files with 6 additions and 8 deletions
|
@ -1,22 +1,20 @@
|
||||||
# Template file for 'libmtp'
|
# Template file for 'libmtp'
|
||||||
pkgname=libmtp
|
pkgname=libmtp
|
||||||
version=1.0.2
|
version=1.0.2
|
||||||
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
revision=2
|
subpackages="$pkgname-devel"
|
||||||
makedepends="doxygen libusb-compat-devel"
|
makedepends="doxygen libusb-compat-devel"
|
||||||
short_desc="Library for Microsoft's Media Transfer Protocol (MTP)"
|
short_desc="Library for Microsoft's Media Transfer Protocol (MTP)"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
||||||
checksum=23adc4d18b5d9e0932a542104b871163cdadc09e697184199ecaaa33eaffa7af
|
checksum=23adc4d18b5d9e0932a542104b871163cdadc09e697184199ecaaa33eaffa7af
|
||||||
long_desc="
|
long_desc="
|
||||||
libmtp is an implementation of Microsoft's Media Transfer Protocol (MTP)
|
libmtp is an implementation of Microsoft's Media Transfer Protocol (MTP)
|
||||||
in the form of a library suitable primarily for POSIX compliant operating
|
in the form of a library suitable primarily for POSIX compliant operating
|
||||||
systems."
|
systems."
|
||||||
|
|
||||||
subpackages="$pkgname-devel"
|
post_install() {
|
||||||
|
install -Dm644 ${wrksrc}/libmtp.rules \
|
||||||
post_install()
|
${DESTDIR}/usr/lib/udev/rules.d/52-libmtp.rules
|
||||||
{
|
|
||||||
install -D -m644 ${wrksrc}/libmtp.rules \
|
|
||||||
${DESTDIR}/lib/udev/rules.d/52-libmtp.rules
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue