aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/mp3info/APKBUILD
blob: a033ee83601b048e5d90bede606a6dbd1300f1a5 (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
32
33
34
35
36
37
38
39
40
41
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=mp3info
pkgver=0.8.5a
pkgrel=1
pkgdesc="An MP3 technical info viewer and ID3 1.x tag editor"
url="http://www.ibiblio.org/mp3info/"
arch="all"
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
	types.patch"

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

	patch -p1 -i "$srcdir"/escape_chars.patch || return 1
	patch -p1 -i "$srcdir"/types.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
0ecc00596019ca4530af8eae6f5d4ce3  types.patch"
sha256sums="0438ac68e9f04947fb14ca5573d27c62454cb9db3a93b7f1d2c226cd3e0b4e10  mp3info-0.8.5a.tgz
452edfebd1d9a647e89b9d88712b1eaec9f7aa4982eeae5c3c884aa21c283df5  escape_chars.patch
fa63e57cc3e3ddb0e23ecab99bcce5bb95f18dce83214f307bddbfe3dcd431c2  types.patch"
sha512sums="30e0ef62deaa090fc115317f6c372f408077dfceed7e05faa6744b8516291e38d21f1742732f6532585f0c3d8c705d8c7026c2bed84c97e1f497d433637affd2  mp3info-0.8.5a.tgz
e2768cb89514e7cec47552384b5166774037fd188caa6e8ed0f6bd6b3a688e0b747c056eddfe3af4613b3947181d3df2bb68a786c9a764598995b8401c561b25  escape_chars.patch
52378d1b27cd6ae002c99a93854efbef5166cedd1c078aca071f822bdefb1b1d457ef00d3949e96a27e09d2309d320d7ace2417bb25117762ad4536ac68785fa  types.patch"