summaryrefslogtreecommitdiff
path: root/community/mp3info/PKGBUILD
blob: b12d249ca4eb673eb3303e376dddef6b8403ffc6 (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
# $Id: PKGBUILD 66241 2012-02-23 05:14:32Z spupykin $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Vinay S Shastry <vinayshastry@gmail.com>

pkgname=mp3info
pkgver=0.8.5a
pkgrel=4
pkgdesc="An MP3 technical info viewer and ID3 1.x tag editor"
arch=('i686' 'x86_64' 'mips64el')
url="http://ibiblio.org/mp3info/"
license=('GPL')
depends=('ncurses' 'gtk2' )
source=(http://ibiblio.org/pub/linux/apps/sound/mp3-utils/$pkgname/$pkgname-$pkgver.tgz)
md5sums=('cb7b619a10a40aaac2113b87bb2b2ea2')

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

  sed -i "s:-O2:${CFLAGS}:" Makefile
  sed -i "s:/usr/bin/install:/bin/install:" Makefile

  make

  install -d ${pkgdir}/usr/bin ${pkgdir}/usr/share/man/man1
  make prefix=${pkgdir}/usr mandir=${pkgdir}/usr/share/man/man1 install
}