1 #Contributor: Kevin Edmonds <edmondskevin@hotmail.com>
5 pkgdesc="minimalistic application to access MTP-Based Multimedia devices."
6 url="http://sourceforge.net/projects/mtpdude"
7 depends=('libmtp=0.0.5' 'libid3tag' 'libgnomeui')
8 source=(http://dl.sourceforge.net/sourceforge/$pkgname/MTPdude-$pkgver.tar.gz mtpdude.patch)
9 md5sums=('f75158794905f90c30a02f3fe0db0029' '0c11dc2fb36e7ba2f6ead5455ae71c55')
13 cd $startdir/src/MTPdude-$pkgver
14 patch -Np1 -i ../mtpdude.patch
15 ./configure --prefix=/usr
17 make DESTDIR=$startdir/pkg install
19 #create the folders for the .desktop file
20 mkdir -p $startdir/pkg/usr/share/applications
21 #move the .desktop file to the created folder
22 mv $startdir/pkg/usr/share/gnome/apps/Applications/MTPdude.desktop $startdir/pkg/usr/share/applications
23 #remove the empty folders
24 rm -r $startdir/pkg/usr/share/gnome