summaryrefslogtreecommitdiffstats
path: root/testing/mp3info/APKBUILD
blob: 92aee7238a5371c3c7c51900d874d6e661c5dc55 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=mp3info
pkgver=0.8.5a
pkgrel=0
pkgdesc="An MP3 technical info viewer and ID3 1.x tag editor"
url="http://www.ibiblio.org/mp3info/"
license="GPL"
depends=
makedepends="ncurses-dev"
subpackages=""
source="ftp://ftp.ibiblio.org/pub/linux/apps/sound/mp3-utils/mp3info/mp3info-0.8.5a.tgz
escape_chars.patch"

build() {
	cd "$srcdir/$pkgname-$pkgver"
	
	patch -p1 -i "$srcdir"/escape_chars.patch || return 1

	make mp3info || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	install -Dm755 mp3info "$pkgdir"/usr/bin/mp3info
	install -Dm644 mp3info.1 "$pkgdir"/usr/share/man/man1/mp3info.1

}

md5sums="cb7b619a10a40aaac2113b87bb2b2ea2  mp3info-0.8.5a.tgz
d0be1068503056b775bf10f05a8497b8  escape_chars.patch"