aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-eyed3/APKBUILD
blob: eacf6f3e38724d22df9314455a42aeb84e5513a0 (plain) (blame)
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
42
43
44
# Maintainer: Peter Bui <pnutzh4x0r@gmail.com>
pkgname=py-eyed3
_pkgname=eyeD3
pkgver=0.7.8
pkgrel=0
pkgdesc="A Python module and program for processing information about mp3 files"
url="http://eyed3.nicfit.net/"
arch="noarch"
license="GPL"
depends="python"
depends_dev=""
makedepends="python2-dev py-setuptools"
install=""
subpackages=""
source="http://eyed3.nicfit.net/releases/$_pkgname-$pkgver.tar.gz
	eyeD3-sh.patch"

_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="2783538edb56d7f583b7c8a5801b51dc  eyeD3-0.7.8.tar.gz
71fa0586d5521bc86778a87d5d3be924  eyeD3-sh.patch"
sha256sums="06b956572b8d63c52db8f62447277a5647fc185b7afef9f2a918b4601db467db  eyeD3-0.7.8.tar.gz
de5176e0d1e60854195954baf8fda6426abe5409cb5affcbd732f469b2f986f7  eyeD3-sh.patch"
sha512sums="fa0f5302f8da0ca15cd3047f97e457a8f96ed6b2d6c03bba3d0e94a11bf093c503c5ffd4cbc9191f00eeeb090e7c9ab1689c9c1b2217ddb69e41251fefabdade  eyeD3-0.7.8.tar.gz
bebc7e834efe259397a397bf8024e52f41893e6eeb4a3fa2b4e00d1559fbcca27d25576dada0e10857512ac111738fdd89a3b6ae6b025b847690ba5b76fce3e4  eyeD3-sh.patch"