summaryrefslogblamecommitdiff
path: root/user/rc/APKBUILD
blob: 0211e3fed452aa4f8ef91b106599347e1dfd514c (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://static.tobold.org/rc"
arch="all"
license="Zlib"
depends=""
makedepends="libedit-dev"
subpackages="$pkgname-doc"
#source="http://static.tobold.org/$pkgname/$pkgname-$pkgver.tar.gz"
source="https://distfiles.adelielinux.org/source/upstream/$pkgname-$pkgver.tar.gz"

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

check() {
	make check
}

package() {
	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"