summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dd053368fbf342e5413ed362024d3e4c143f540b (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
# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>
# Contributor: speps <speps at aur dot archlinux dot org>

pkgname=aj-snapshot
pkgver=0.9.7
pkgrel=1
pkgdesc="Command line utility to store/restore ALSA and/or JACK connections to/from an XML file."
arch=('i686' 'x86_64')
url="http://aj-snapshot.sourceforge.net/"
license=('GPL3')
depends=('jack' 'mxml')
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.bz2")
sha256sums=('c8e66143d00536b4ea3a8aefcf907a256bc7115e94a77036f64c709cee63ac7b')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  # does not build with -Wl,--as-needed
  export LDFLAGS="${LDFLAGS//,--as-needed}"

  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir/" install
}

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