summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: eb32b5bd175608db7368f9e181b938c3af8ffa69 (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
# Maintainer: Stefan Mark <mark at unserver dot de>

pkgname=madasul-git
_pkgname=maasul
pkgver=666.0.3
pkgrel=1
pkgdesc="A really simple playlist daemon"
url="https://git.weitnahbei.de/nullmark/madasul"
arch=('i686' 'x86_64')
license=('GPL')
depends=('socat')
optdepends=('mpg321: example musicplayer config' 'ogg128: example musicplayer config' 'libnotify: example musicplayer config' 'id3v2: example playlist generator' 'vorbis-tools: example playlist generator' 'dmenu: example gui interface' 'saparoton: interface for madasul')
makedepends=('git')
provides=('madasul')
conflicts=('madasul')
source=("$_pkgname::git+http://git.weitnahbei.de/nullmark/madasul")
sha256sums=('SKIP')

build() {
  cd $_pkgname
  make
}

package() {
  cd $_pkgname
  make PREFIX=/usr DESTDIR="$pkgdir" install
  install -m644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  install -m644 -D README "$pkgdir/usr/share/doc/$pkgname/README.md"
}