aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sandy/APKBUILD
blob: ac589eef9ba56e3c79c8321fb1b67ff29e3da200 (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
# Contributor:
# Maintainer:
pkgname=sandy
pkgver=0.4
pkgrel=1
pkgdesc="sandy is an ncurses text editor with an easy-to-read, hackable C source."
url="http://tools.suckless.org/sandy"
arch="all"
license="MIT"
depends="ncurses"
depends_dev=""
makedepends="$depends_dev ncurses-dev"
install=""
subpackages="$pkgname-doc"
source="http://git.suckless.org/sandy/snapshot/sandy-0.4.tar.gz"

builddir=${srcdir}/${pkgname}-${pkgver}

build() {
	cd "$builddir"
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" PREFIX=/usr install || return 1
	install -d "$pkgdir"/usr/share/licenses/"$pkgname"
	install -m644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"
}

md5sums="c1bdce5873eacf4fed89b32925b1db97  sandy-0.4.tar.gz"
sha256sums="3eb6a53cce1e0a729292903f2b5d7f8ea5b3dc85e109df66088b19e7378ca4d1  sandy-0.4.tar.gz"
sha512sums="6e706cfd381f25a5ba1dcaa2ce80754b13a2dd95a6374a060a4a0bd5ac63478d60a6bb26d8e2105143a4c9d400442c0a164fa6d295babdf6480d695f188b2b90  sandy-0.4.tar.gz"