aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ptylie/APKBUILD
blob: 878cd14d64a87f58b7a27cb990933ac6c5f696bc (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
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=ptylie
pkgver=0.2
pkgrel=0
pkgdesc="Record a terminal session with automatic keyboard entry"
url="https://github.com/p-gen/ptylie"
arch="all"
license="GPL-2.0"
options="suid !check"  # no tests provided
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/p-gen/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="37945007d9eabcdf02aa67150567e2a39c8fa56d0948aecc245b6135c7f5687f0e92a3cc8562771400f6198d5b1ee91ee9e5ea5a298ae5822c00c0c2d1203728  ptylie-0.2.tar.gz"