updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / gmtp / PKGBUILD
blobba6f2b886762105a2b7f91c59b57a8c5c200c5ee
1 # Maintainer: yugrotavele <yugrotavele at archlinux dot us>
3 pkgname=gmtp
4 pkgver=1.3.0
5 pkgrel=1
6 pkgdesc="A simple MP3 player client for MTP based devices"
7 arch=('i686' 'x86_64')
8 url="http://gmtp.sourceforge.net/"
9 license=('BSD')
10 depends=('dconf' 'flac' 'gtk3' 'libmtp' 'libid3tag' 'libusb' 'libvorbis')
11 install=$pkgname.install
12 source=($pkgname-$pkgver-i386.tar.gz::http://sourceforge.net/projects/gmtp/files/gMTP-$pkgver/$pkgname-$pkgver-i386.tar.gz/download)
13 md5sums=(243c846cde72f915210e8d96cea5d519)
15 build() {
16   cd "$srcdir/gMTP"
17   sed -i 's:PREFIX ?= /usr/local:PREFIX ?= /usr:g' Makefile
18   make gtk3  
21 package() {
22   cd "$srcdir/gMTP"
23   install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
24   make DESTDIR="$pkgdir" install-gtk3
25   make DESTDIR="$pkgdir" register-gsettings-schemas
26   rm "$pkgdir/usr/share/glib-2.0/schemas/gschemas.compiled"