aboutsummaryrefslogtreecommitdiffstats
path: root/community/sent/APKBUILD
blob: f147b91b2c7d5e9f040ec73d81da251db894c49e (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
34
35
36
37
38
39
40
41
42
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=sent
pkgver=1
pkgrel=2
pkgdesc="Simple plaintext presentation tool"
url="http://tools.suckless.org/sent/"
arch="all"
license="MIT"
depends="farbfeld"
depends_dev=""
makedepends="libx11-dev libxft-dev"
install=""
subpackages="$pkgname-doc"
source="http://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz
	config-mk.patch"
builddir="$srcdir"
patch_args="-p0"

build() {
	make -C "$builddir"
}

check() {
	cd "$builddir"
	./sent -version > /dev/null
}

package() {
	cd "$builddir"
	make PREFIX="/usr" DESTDIR="$pkgdir" \
		install

	mkdir -p "$pkgdir"/usr/share/doc/$pkgname/examples/
	install -m644 example transparent_test.ff nyan.png \
		"$pkgdir"/usr/share/doc/$pkgname/examples/
	install -m644 README.md \
		"$pkgdir"/usr/share/doc/$pkgname/
}

sha512sums="4797468bf949de507662253eac1ec80f566553051f407a55a88ccdd6544532c0d8d0f51bb11b88bdff78e6630519558049569ac0c9d3d8279f243882653ef1c0  sent-1.tar.gz
f14481b84c0d125216aba3af45b3fe0a559996f8f3c6acdfb3289ee9c601a09267e94efc3a2c7146d4e8514a68ed2461ddbf907a49d857539c121090797bd7e0  config-mk.patch"