archrelease: copy trunk to community-any
[ArchLinux/community.git] / lxmusic / repos / community-x86_64 / PKGBUILD
blob501ef10616cb8ce132dd7a130fef716875f994f2
1 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
2 # Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
3 # Contributor: Marcus Schulderinsky <mmaacceess at gmail dot com>
5 pkgname=lxmusic
6 pkgver=0.4.7
7 pkgrel=7
8 pkgdesc='Lightweight music player (XMMS2 client)'
9 arch=('x86_64')
10 url='https://lxde.org/'
11 license=('GPL2')
12 groups=('lxde')
13 depends=('gtk3' 'libnotify' 'xmms2')
14 makedepends=('intltool')
15 replaces=('lxmusic-gtk3')
16 source=("https://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.xz"
17         'lxmusic.appdata.xml'
18         '0001-Use-themed-icon.patch')
19 sha256sums=('4933987338eb6e8c77d63b14cea5a8886146e75acbc38a21438c6c3f47bc06ba'
20             '0093885fe76bda60a1b319970bd8d148903a3adb674690d3d9cf9262e053b05b'
21             '9cd869db22ac71c01e90365d9252b72bde64ec9f0a0bad8fecc32319da0a99fe')
23 prepare() {
24   cd $pkgname-$pkgver
25   # Use themed icon
26   patch -Np1 -i ../0001-Use-themed-icon.patch
27   autoreconf -fi
30 build() {
31   cd $pkgname-$pkgver
32   ./configure --prefix=/usr --enable-gtk3
33   make
36 package() {
37   cd $pkgname-$pkgver
38   make DESTDIR="$pkgdir" install
39   install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"