summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 079f84a1886e11e5645653976d7682bf5510b763 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: willemw <willemw12@gmail.com>
# Contributor: Andrew Trabo <v01d3r@gmail.com>

pkgname=peyote
pkgver=0.9.12
pkgrel=3
pkgdesc="Audio player with a Midnight Commander interface"
url="http://peyote.sourceforge.net/"
arch=('i686' 'x86_64')
license=('GPL3')
depends=('desktop-file-utils' 'gstreamer0.10-python' 'gtk-update-icon-cache' 'mutagen' 'pygtk' 'python2-dbus' 'python2-pyinotify')
optdepends=('alsa-utils: default mixer (alsamixer)'
            'gstreamer0.10-bad-plugins: "Bad" plugin libraries'
            'geeqie: default image viewer'
            'gstreamer0.10-base-plugins: "Base" plugin libraries'
            'gstreamer0.10-ffmpeg: FFmpeg plugin'
            'gstreamer0.10-good-plugins: "Good" plugin libraries'
            'gstreamer0.10-ugly-plugins: "Ugly" plugin libraries'
            'libnotify: notifications (notify-send)'
            'mplayer: default video player'
            'rxvt-unicode: default terminal emulator for xpeyote')
install=$pkgname.install
source=(http://downloads.sourceforge.net/project/peyote/Linux/${pkgname}_$pkgver.tar.bz2)
sha256sums=('62180b2ba63b0d99ef27bb7753304c08cf557534f7bab7586dd37fdbe6f9e76f')

build() {
  cd ${pkgname}_$pkgver
  PYTHON=/usr/bin/python2 ./configure --prefix=/usr
  make
}

package() {
  cd ${pkgname}_$pkgver
  install -Dm644 README "$pkgdir/usr/share/$pkgname/README"
  make DESTDIR="$pkgdir/" install
}