[arch-commits] Commit in libmtp/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Thu May 14 21:28:22 UTC 2015
Date: Thursday, May 14, 2015 @ 23:28:21
Author: arojas
Revision: 239363
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
libmtp/repos/testing-i686/
libmtp/repos/testing-i686/PKGBUILD
(from rev 239362, libmtp/trunk/PKGBUILD)
libmtp/repos/testing-x86_64/
libmtp/repos/testing-x86_64/PKGBUILD
(from rev 239362, 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 239362, libmtp/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2015-05-14 21:28:21 UTC (rev 239363)
@@ -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.9
+pkgrel=1
+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=('d515b38a5b5d5ef235b01ebba47412df')
+
+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 239362, libmtp/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2015-05-14 21:28:21 UTC (rev 239363)
@@ -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.9
+pkgrel=1
+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=('d515b38a5b5d5ef235b01ebba47412df')
+
+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