summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 75e33dcce3ba86a2fbfb230dfdc31067efe5760b (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
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
# Former maintainer: Thomas Dziedzic <gostrc at gmail>
# Contributor: Andrew Burkett <burkett.andrew@gmail.com>

pkgname=mpg321
pkgver=0.3.2
pkgrel=1
pkgdesc="A completely free drop-in replacement for mpg123"
arch=('i686' 'x86_64')
url="https://sourceforge.net/projects/mpg321/"
license=('GPL')
depends=('glibc' 'libmad' 'libao' 'libid3tag')
provides=('mpg123')
conflicts=('mpg123')
source=("https://downloads.sourceforge.net/project/mpg321/mpg321/$pkgver/${pkgname}_$pkgver.orig.tar.gz")
sha512sums=('f1bead2c11e4cde0f1a87e1b2e3d216ef80c9a5dd8b219841961688d44a5fc63a54b7af07359766fde0b2712ddc5d0a90b20149c3228cb2d70e830e15c8ab234')


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

  ./configure --prefix="/usr"
  make
}

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

  make DESTDIR="$pkgdir" install
}