summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a94fb6a0c0b422ae31fb3b98fa120f0578ae2f14 (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
# Maintainer: Thomas Krug <t.krug@elektronenpumpe.de>
# Contributor: Thomas Krug <t.krug@elektronenpumpe.de>

pkgname=lwxc-git
_pkgname=lwxc
pkgver=r42.c656d4d
pkgrel=1
pkgdesc="le wild xmms2 client, a simple media library browser"
arch=('any')
url='https://github.com/phragment/lwxc'
license=('GPL3')
depends=('python' 'python-gobject' 'python-dbus' 'xmms2-git')
makedepends=('git')
provides=('lwxc')
conflicts=('lwxc')
install=lwxc.install
source=('lwxc::git+https://github.com/phragment/lwxc.git'
        'lwxc.desktop')
md5sums=('SKIP'
         '9d7b791ebfa705392f963373789c0671')

pkgver() {
  cd "$srcdir/$_pkgname"
  echo r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}

package() {
  cd "$srcdir/$_pkgname"

  install -D -m755 lwxc.py "$pkgdir/usr/bin/lwxc"
  install -D -m644 lwxc.svg "$pkgdir/usr/share/pixmaps/lwxc.svg"

  install -D -m644 "$srcdir/lwxc.desktop" "$pkgdir/usr/share/applications/lwxc.desktop"
}

# vim:set ts=2 sw=2 et: