summaryrefslogblamecommitdiff
path: root/user/rc/APKBUILD
blob: fb05794e6923ba7f864e3ff5f28e98ac5168a22f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11




                                       
                                              




                                  

                                                                  


























                                                                                                                                                              
# Contributor: Dan Theisen <djt@hxx.in>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=rc
pkgver=1.7.4
pkgrel=0
pkgdesc="Reimplementation of the Plan 9 shell"
url="http://tobold.org/article/rc"
arch="all"
license="Zlib"
depends=""
makedepends="libedit-dev"
subpackages="$pkgname-doc"
source="http://static.tobold.org/$pkgname/$pkgname-$pkgver.tar.gz"

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

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	mkdir ${pkgdir}/usr/share/man
	mv ${pkgdir}/usr/share/man1 ${pkgdir}/usr/share/man
}

sha512sums="49e124207b5370b88b8fba0376dda33451451a58bfb85fabfc06ae59eb88fedf38d7aeaaf292e4f380e2c00efc8301ba68d12180923186d1c53ef94f78f7e435  rc-1.7.4.tar.gz"