summaryrefslogtreecommitdiffstats
path: root/unmaintained/empty/APKBUILD
blob: 3d9467ce0108e1301b448a9f3faa0902de8e1ca7 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=empty
pkgver=0.6.19b
pkgrel=0
pkgdesc="run applications under pseudo-terminal (PTY) sessions"
url="http://empty.sourceforge.net/"
arch="all"
license="BSD"
depends=""
makedepends=""
install=""
subpackages="$pkgname-doc"
source="http://downloads.sourceforge.net/sourceforge/empty/empty-$pkgver.tgz"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	install -D empty "$pkgdir"/usr/bin/empty
	install -D empty.1 "$pkgdir"/usr/share/man/man1/empty.1
}

md5sums="a0729eb35dc607e463d86b681b8c1711  empty-0.6.19b.tgz"
sha256sums="05b7cb361ef815774abda325c09c573f8c9039ccbb71eedc743439e4637c314a  empty-0.6.19b.tgz"
sha512sums="7afb2b5d08f2d3ebe0819eccef39b2e35fa532b6cbdcef49d2dbb4a5aa57fe55b1765461de9691d6eaa3188a9ecd98c291de738c13c9c2158c4f53d704b83670  empty-0.6.19b.tgz"