aports

Custom Alpine Linux aports

git clone https://git.8pit.net/aports.git

 1# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
 2# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
 3pkgname=drawterm
 4reporev=77b464a5d5648bb646467111b8faf719cd5c46b6
 5pkgver=0_git20240320
 6pkgrel=1
 7pkgdesc="Connect to Plan 9 CPU servers from other operating systems"
 8url="https://git.9front.org/plan9front/drawterm"
 9arch="all !armhf !armv7 !s390x"
10license="LPL-1.02"
11options="!check" # upstream does not have a test suite
12makedepends="linux-headers libx11-dev libxt-dev"
13subpackages="$pkgname-dbg"
14giturl="git://git.9front.org/plan9front/drawterm"
15disturl="dev.alpinelinux.org:/archive/drawterm"
16source="https://dev.alpinelinux.org/archive/drawterm/drawterm-$pkgver.tar.gz
17	respect-env.patch
18	modifier-fix.patch"
19
20build() {
21	CONF=unix make X11INC=/usr/include/X11 \
22		X11LIB=/usr/lib/X11
23}
24
25package() {
26	install -Dm755 $pkgname \
27		"$pkgdir"/usr/bin/$pkgname
28	install -Dm644 LICENSE \
29		"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
30}
31
32sha512sums="
33286641c9259476a2cd2840ac306b62eb2089a35a54298821eab61b5f2b41d2d71fac6a34f8d88d0f440895e53e5997d87e9c96e99ca72bd96e4acac37c263132  drawterm-0_git20240320.tar.gz
346d55848c890e0f829e2b616c82495d1f32fc266ffd95867c37ab115ca9570b1aada4abbaced78f4578428cb34392202206176cd3ea5873c8fb7c0ad478690c20  respect-env.patch
35505b6e5b4b8b173b51aeb0b477e24d24bb64be2737b7b37b796104ea331542c74f37e34a28c8540e14e2837ae2b22d5ea7fc1178cd03a0e8affd08119bfef1f1  modifier-fix.patch
36"