aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sent/APKBUILD
blob: 9a7f3dd0ef0990b17e00388a679c8a6deb7929c9 (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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=sent
pkgver=0.2
pkgrel=1
pkgdesc="Simple plaintext presentation tool"
url="http://tools.suckless.org/sent/"
arch="all"
license="MIT"
depends=""
depends_dev=""
makedepends="libpng-dev libx11-dev libxft-dev"
install=""
subpackages=""
source="http://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver
build() {
	make -C "$builddir" || return 1
}

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

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

md5sums="b45cea13e23711cbf917d5ca45186dc1  sent-0.2.tar.gz"
sha256sums="53b961f9d92a277a6408df7025b4a6deae6b655a797383c93442290e45391076  sent-0.2.tar.gz"
sha512sums="22c1e1e1bb7dbdaacb75a71a34ab533ca17b632e505ff96a351a907b861009b748502f7ad2934397f40842bef11e3072e814952a6abb141d470d0bb2e34a1540  sent-0.2.tar.gz"