[arch-commits] Commit in libmtp/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Mon May 9 10:21:52 UTC 2011
Date: Monday, May 9, 2011 @ 06:21:51
Author: jgc
Revision: 123216
upgpkg: libmtp 1.0.6-1
Update to 1.0.5
Modified:
libmtp/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++++++-----------
1 file changed, 8 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-05-09 10:15:21 UTC (rev 123215)
+++ PKGBUILD 2011-05-09 10:21:51 UTC (rev 123216)
@@ -3,30 +3,27 @@
# Contributor: Kevin Edmonds <edmondskevin at hotmail.com>
pkgname=libmtp
-pkgver=1.0.2
-pkgrel=2
+pkgver=1.0.6
+pkgrel=1
pkgdesc="library implementation of the Media Transfer Protocol"
arch=("i686" "x86_64")
url="http://libmtp.sourceforge.net"
license=('LGPL')
depends=('libusb-compat')
makedepends=('doxygen')
-source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
-md5sums=('cdc1cc6afa6be287ff6bc331e71bdc47')
options=('!libtool')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+md5sums=('7d3c624d768adba8537f8bc9c0a82cbf')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr
make
}
package() {
- cd $srcdir/$pkgname-$pkgver
- make DESTDIR=$pkgdir install
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
- install -D -m0644 libmtp.rules \
- $pkgdir/lib/udev/rules.d/52-libmtp.rules
- install -D -m0644 libmtp.fdi \
- $pkgdir/usr/share/hal/fdi/information/20thirdparty/libmtp.fdi
+ install -D -m0644 libmtp.rules "${pkgdir}/lib/udev/rules.d/52-libmtp.rules"
}
More information about the arch-commits
mailing list