[arch-commits] Commit in libmtp/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Mon Nov 29 04:35:06 UTC 2010


    Date: Sunday, November 28, 2010 @ 23:35:05
  Author: allan
Revision: 101397

upgpkg: libmtp 1.0.2-2
libusb rebuild

Modified:
  libmtp/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-11-29 01:59:59 UTC (rev 101396)
+++ PKGBUILD	2010-11-29 04:35:05 UTC (rev 101397)
@@ -4,12 +4,12 @@
 
 pkgname=libmtp
 pkgver=1.0.2
-pkgrel=1
+pkgrel=2
 pkgdesc="library implementation of the Media Transfer Protocol"
 arch=("i686" "x86_64")
 url="http://libmtp.sourceforge.net"
-license=("LGPL")
-depends=("libusb")
+license=('LGPL')
+depends=('libusb-compat')
 makedepends=('doxygen')
 source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
 md5sums=('cdc1cc6afa6be287ff6bc331e71bdc47')
@@ -18,8 +18,13 @@
 build() {
   cd $srcdir/$pkgname-$pkgver
   ./configure --prefix=/usr
-  make || return 1
+  make
+}
+
+package() {
+  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 \




More information about the arch-commits mailing list