summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ee0fbe164b3c7b78616b3737740142b88ceedfba (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
37
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Alexander Bachler Jansson <alexander.bachler.jansson@gmail.com>
# Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
# Contributor: Simon Morgan <simon@16hz.net>

pkgname=nosefart
pkgver=2.9
pkgrel=3
pkgdesc='NES sound format player'
arch=('x86_64' 'i686')
url='http://nosefart.sourceforge.net/'
depends=('libpulse')
license=('GPL2')
source=("https://downloads.sourceforge.net/nosefart/nosefart-$pkgver-mls.tar.bz2"
        'nosefart-2.9-pulseaudio-mls.patch')
sha256sums=('43fa05190cc6a62f30662dcb65768413a77a73962961e520ccd9245cd3e35a39'
            '67518573195c11b0826b2c6a3243a136fb128902bdabf13e77687d917ba9f97d')

prepare() {
  cd "$pkgname-$pkgver-mls"

  patch -p1 -i ../nosefart-2.9-pulseaudio-mls.patch
}

build() {
  cd "$pkgname-$pkgver-mls"

  make WANT_DEBUG=FALSE
}

package() {
  cd "$pkgname-$pkgver-mls"

  make PREFIX="$pkgdir/usr" install
}

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