aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/rc/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/rc/APKBUILD')
-rw-r--r--unmaintained/rc/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/unmaintained/rc/APKBUILD b/unmaintained/rc/APKBUILD
new file mode 100644
index 0000000000..da1a293262
--- /dev/null
+++ b/unmaintained/rc/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
+pkgname=rc
+pkgver=1.7.4
+pkgrel=0
+pkgdesc="An alternative implementation of the plan 9 rc shell"
+url="http://tobold.org/article/rc"
+arch="all"
+license="custom"
+depends=""
+depends_dev=""
+makedepends="readline-dev ncurses-dev"
+install="$pkgname.post-install $pkgname.pre-deinstall"
+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 \
+ --bindir=/bin \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --with-edit=gnu \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+
+ mkdir -p "$pkgdir"/usr/share/licenses/$pkgname
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/ || return 1
+}
+
+md5sums="f99732d7a8be3f15f81e99c3af46dc95 rc-1.7.4.tar.gz"
+sha256sums="5ed26334dd0c1a616248b15ad7c90ca678ae3066fa02c5ddd0e6936f9af9bfd8 rc-1.7.4.tar.gz"
+sha512sums="49e124207b5370b88b8fba0376dda33451451a58bfb85fabfc06ae59eb88fedf38d7aeaaf292e4f380e2c00efc8301ba68d12180923186d1c53ef94f78f7e435 rc-1.7.4.tar.gz"