summaryrefslogtreecommitdiff
path: root/extra/id3/PKGBUILD
blob: 046797e07df868e365ad01c81c425b469dd01c62 (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
# $Id: PKGBUILD 42386 2009-06-13 14:30:24Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jochem Kossen <j.kossen@home.nl>

pkgname=id3
pkgver=0.78
pkgrel=2
pkgdesc="Utility to edit id3v1 and id3v2 tags"
arch=('i686' 'x86_64')
license=('custom')
depends=('gcc-libs')
source=(http://home.wanadoo.nl/squell/files/${pkgname}-${pkgver}.tar.gz
        id3-0.78-gcc44.patch)
url="http://home.wanadoo.nl/squell/id3.html"
md5sums=('bbc2a5d8022006330e6bb51034fafb43'
         '51370be8d2624efee3683efab608a7f1')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  patch -Np1 -i ${srcdir}/id3-0.78-gcc44.patch || return 1
  make || return 1
  make prefix=${pkgdir}/usr mandir=${pkgdir}/usr/share/man install

  #install license
  install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}