diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-27 16:21:34 +0100 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-10-27 16:21:34 +0100 |
commit | 52f39df5f7aa1986b542ba7a04fdbf87cd1a78e3 (patch) | |
tree | ef8455b09d4644856ae228564838c5a4d6a5162a /unmaintained | |
parent | d150765a7e0a5f4fcd220ed93721bff94cea4332 (diff) | |
download | aports-52f39df5f7aa1986b542ba7a04fdbf87cd1a78e3.tar.bz2 aports-52f39df5f7aa1986b542ba7a04fdbf87cd1a78e3.tar.xz |
testing/fakechroot: unmaintained
Diffstat (limited to 'unmaintained')
-rw-r--r-- | unmaintained/fakechroot/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/unmaintained/fakechroot/APKBUILD b/unmaintained/fakechroot/APKBUILD new file mode 100644 index 0000000000..0ce2bc759a --- /dev/null +++ b/unmaintained/fakechroot/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: +pkgname=fakechroot +pkgver=2.16 +pkgrel=1 +pkgdesc="A fakeroot-like utility for chrooting" +url="http://github.com/fakechroot/fakechroot" +arch="all" +license="LGPL2+" +depends="" +depends_dev="" +makedepends="$depends_dev autoconf automake libtool" +install="" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/fakechroot/fakechroot/archive/${pkgver}.tar.gz" + +_builddir="${srcdir}/$pkgname-${pkgver}" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done + ./autogen.sh +} + +build() { + cd "$_builddir" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make install DESTDIR="$pkgdir" || return 1 + rm "$pkgdir"/usr/lib/fakechroot/*.la +} + +md5sums="f5f7326eaddaaf0229d70f22a0aef859 fakechroot-2.16.tar.gz" +sha256sums="c9baaa6aea853c1602ef5f3d8bdb153d5b5765f1e69cdf8244bab7417d61700c fakechroot-2.16.tar.gz" +sha512sums="c8cebf44ddd3ff21630db745b83f98984320d4730b53fbdaa9b7df545341146c87b8b9c2d85a4f31a516b7dcbc15aa83c5a9bf2bfc426de6e75fc88ce4e710f9 fakechroot-2.16.tar.gz" |