summaryrefslogtreecommitdiff
path: root/community/kio-mtp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kio-mtp/PKGBUILD')
-rw-r--r--community/kio-mtp/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/kio-mtp/PKGBUILD b/community/kio-mtp/PKGBUILD
new file mode 100644
index 000000000..0706d1899
--- /dev/null
+++ b/community/kio-mtp/PKGBUILD
@@ -0,0 +1,29 @@
+# $Id: PKGBUILD 86399 2013-03-16 10:03:49Z fyan $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Antonio Rojas < nqn1976 @ gmail.com >
+
+pkgname=kio-mtp
+pkgver=0.75
+pkgrel=1
+arch=('i686' 'x86_64' 'mips64el')
+pkgdesc="Provides KIO Access to MTP devices using the mtp:/// protocol"
+url='https://projects.kde.org/projects/playground/base/kio-mtp'
+license=('GPL')
+depends=('kdebase-runtime' 'libmtp')
+makedepends=('cmake' 'automoc4')
+source=("$pkgname-$pkgver.tar.gz::http://quickgit.kde.org/?p=kio-mtp.git&a=snapshot&h=7de86bae3623192eb468772bb187f6afffc03fe0&fmt=tgz")
+
+build() {
+ mkdir build
+ cd build
+ cmake ../${pkgname} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package(){
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
+md5sums=('813d9de196ce969b84a14f68e1b320b9')