summaryrefslogtreecommitdiffstats
path: root/testing/empty/APKBUILD
blob: 16498e5dd0dac812ce716b5eff64023e1f821126 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=empty
pkgver=0.6.18b
pkgrel=0
pkgdesc="run applications under pseudo-terminal (PTY) sessions"
url="http://empty.sourceforge.net/"
arch="x86 x86_64"
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="2cf5e1b8ff58c41b63738bdc7c24fbc2  empty-0.6.18b.tgz"