[arch-commits] Commit in libmtp/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Tue Oct 6 18:42:43 UTC 2015
Date: Tuesday, October 6, 2015 @ 20:42:43
Author: arojas
Revision: 248431
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
libmtp/repos/testing-i686/
libmtp/repos/testing-i686/PKGBUILD
(from rev 248430, libmtp/trunk/PKGBUILD)
libmtp/repos/testing-x86_64/
libmtp/repos/testing-x86_64/PKGBUILD
(from rev 248430, libmtp/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+)
Copied: libmtp/repos/testing-i686/PKGBUILD (from rev 248430, libmtp/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-10-06 18:42:43 UTC (rev 248431)
@@ -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.10
+pkgrel=1
+pkgdesc="Library implementation of the Media Transfer Protocol"
+arch=("i686" "x86_64")
+url="http://libmtp.sourceforge.net"
+license=('LGPL')
+depends=('libusb')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('a82e999363c2504025fb50d2e095ec23')
+
+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/testing-x86_64/PKGBUILD (from rev 248430, libmtp/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-10-06 18:42:43 UTC (rev 248431)
@@ -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.10
+pkgrel=1
+pkgdesc="Library implementation of the Media Transfer Protocol"
+arch=("i686" "x86_64")
+url="http://libmtp.sourceforge.net"
+license=('LGPL')
+depends=('libusb')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('a82e999363c2504025fb50d2e095ec23')
+
+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