summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-05-21 00:03:05 -0700
committerDan Theisen <djt@hxx.in>2018-05-21 00:03:05 -0700
commit3d40bdfba5dc21e3f0f3ee710d5c9c73e500620c (patch)
treecd458973c6b0ef7f0da7a43c207f7f635d645597
parent333d0c222b25a9dab215d927bfdeeadd62ba53f3 (diff)
downloadpackages-3d40bdfba5dc21e3f0f3ee710d5c9c73e500620c.tar.gz
packages-3d40bdfba5dc21e3f0f3ee710d5c9c73e500620c.tar.bz2
packages-3d40bdfba5dc21e3f0f3ee710d5c9c73e500620c.tar.xz
packages-3d40bdfba5dc21e3f0f3ee710d5c9c73e500620c.zip
user/rc: new package
-rw-r--r--user/rc/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/user/rc/APKBUILD b/user/rc/APKBUILD
new file mode 100644
index 000000000..c949968fa
--- /dev/null
+++ b/user/rc/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Dan Theisen <djt@hxx.in>
+# Maintainer: Dan Theisen <djt@hxx.in>
+pkgname=rc
+pkgver=1.7.4
+pkgrel=0
+pkgdesc="a reimplementation of the Plan 9 shell"
+url="http://tobold.org/article/rc"
+arch="all"
+license="Zlib"
+depends=""
+makedepends="libedit-dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://static.tobold.org/$pkgname/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+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"