summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e343b1ebcaae7fa2faf8b287c375807104bf3485 (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: Gustavo Alvarez <sl1pkn07@gmail.com>
# Contributor: Helmut Henig <Helmut.Henig@gmx.at>

pkgname=aften
pkgver=0.0.8
pkgrel=3
arch=('i686' 'x86_64')
pkgdesc="Audio encoder which generates compressed audio streams based on ATSC A/52 specification."
url="http://aften.sourceforge.net/"
license=('GPL')
depends=('glibc')
makedepends=('cmake')
source=("http://downloads.sourceforge.net/aften/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('1ff73cdcade0624495ad807492cecf14862fb61c')

prepare() {
  mkdir -p build
}

build() {
  cd build
  cmake "../${pkgname}-${pkgver}" \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DSHARED=ON
  make
}

package() {
  make -C build DESTDIR="${pkgdir}" install
}