updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / schismtracker-hg / PKGBUILD
blobeb7fe120e56b72bad7f4666fadd9ac70468bfc3d
1 # Contributor: Sean Bartell <wingedtachikoma@gmail.com>
3 pkgname=schismtracker-hg
4 pkgver=2741
5 pkgrel=1
6 pkgdesc="A music editor based on Impulse Tracker."
7 arch=('i686' 'x86_64')
8 url="http://schismtracker.org/"
9 license=('GPL')
10 makedepends=(mercurial)
11 depends=(sdl gcc-libs libxv)
12 conflicts=(schismtracker schismtracker-cvs)
13 provides=(schismtracker schismtracker-cvs)
15 _hgroot="http://schismtracker.org/"
16 _hgrepo="hg"
18 build() {
19         cd "$srcdir/hg"
20     autoreconf -i
21         ./configure --prefix=/usr --enable-mercurial
22         make || return 1
23     make DESTDIR="$pkgdir/" install
24     install -Dm644 icons/schism-icon-128.png \
25         "$pkgdir/usr/share/icons/schism-icon-128.png"
26     install -Dm644 icons/schism-itf-icon-128.png \
27         "$pkgdir/usr/share/icons/schism-itf-icon-128.png"
28     install -Dm644 sys/fd.org/schism.desktop \
29         "$pkgdir/usr/share/applications/schism.desktop"
30     install -Dm644 sys/fd.org/itf.desktop \
31         "$pkgdir/usr/share/applications/itf.desktop"
32     install -Dm644 README \
33         "$pkgdir/usr/share/doc/schismtracker/README"