updated on Fri Jan 13 08:00:32 UTC 2012
[aur-mirror.git] / mtpdude / PKGBUILD
blob6992033a9fa41c5ee068555ffe39f8974bfce4d0
1 #Contributor: Kevin Edmonds <edmondskevin@hotmail.com>
2 pkgname=mtpdude
3 pkgver=0.0.6
4 pkgrel=6
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')
10 license="GPL"
12 build() {
13   cd $startdir/src/MTPdude-$pkgver
14   patch -Np1 -i ../mtpdude.patch
15   ./configure --prefix=/usr
16   make || return 1
17   make DESTDIR=$startdir/pkg install
18   
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