mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 07:02:29 +01:00
30 lines
778 B
Plaintext
30 lines
778 B
Plaintext
# 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="python2"
|
|
depends_dev=""
|
|
makedepends="python2-dev"
|
|
install=""
|
|
subpackages=""
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
|
|
_builddir="$srcdir"/$_pkgname-$pkgver
|
|
build() {
|
|
cd "$_builddir"
|
|
python2 setup.py build || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
|
|
}
|
|
|
|
md5sums="9d1fc073e48ca682786d50c077e823ce tailer-0.3.tar.gz"
|