[arch-commits] Commit in libmtp/repos (4 files)
Evangelos Foutras
foutrelis at nymeria.archlinux.org
Mon Dec 30 08:41:18 UTC 2013
Date: Monday, December 30, 2013 @ 09:41:18
Author: foutrelis
Revision: 202983
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
libmtp/repos/extra-i686/
libmtp/repos/extra-i686/PKGBUILD
(from rev 202982, libmtp/trunk/PKGBUILD)
libmtp/repos/extra-x86_64/
libmtp/repos/extra-x86_64/PKGBUILD
(from rev 202982, libmtp/trunk/PKGBUILD)
-----------------------+
extra-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
extra-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
Copied: libmtp/repos/extra-i686/PKGBUILD (from rev 202982, libmtp/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2013-12-30 08:41:18 UTC (rev 202983)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: damir <damir at archlinux.org>
+# Contributor: Kevin Edmonds <edmondskevin at hotmail.com>
+
+pkgname=libmtp
+pkgver=1.1.6
+pkgrel=5
+pkgdesc="Library implementation of the Media Transfer Protocol"
+arch=("i686" "x86_64")
+url="http://libmtp.sourceforge.net"
+license=('LGPL')
+depends=('libusb' 'libgcrypt')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('87835626dbcf39e62bfcdd4ae6da2063')
+
+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
+
+ # fix broken udev rule
+ sed -i "/^Unable to open/d" ${pkgdir}/usr/lib/udev/rules.d/69-libmtp.rules
+}
Copied: libmtp/repos/extra-x86_64/PKGBUILD (from rev 202982, libmtp/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2013-12-30 08:41:18 UTC (rev 202983)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: damir <damir at archlinux.org>
+# Contributor: Kevin Edmonds <edmondskevin at hotmail.com>
+
+pkgname=libmtp
+pkgver=1.1.6
+pkgrel=5
+pkgdesc="Library implementation of the Media Transfer Protocol"
+arch=("i686" "x86_64")
+url="http://libmtp.sourceforge.net"
+license=('LGPL')
+depends=('libusb' 'libgcrypt')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('87835626dbcf39e62bfcdd4ae6da2063')
+
+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
+
+ # fix broken udev rule
+ sed -i "/^Unable to open/d" ${pkgdir}/usr/lib/udev/rules.d/69-libmtp.rules
+}
More information about the arch-commits
mailing list