aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-tailer/APKBUILD
blob: 87369351a1c291e3ff0b169930e9175d9a8eb7da (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-tailer
_pkgname=tailer
pkgver=0.3
pkgrel=0
pkgdesc="Python tail is a simple implementation of GNU tail and head"
url="https://github.com/six8/pytailer"
arch="noarch"
license="MIT"
depends="python"
depends_dev=""
makedepends="python-dev"
install=""
subpackages=""
source="http://pypi.python.org/packages/source/t/${_pkgname}/${_pkgname}-$pkgver.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver

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

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

md5sums="9d1fc073e48ca682786d50c077e823ce  tailer-0.3.tar.gz"