diff options
author | William Pitcock <nenolod@dereferenced.org> | 2013-01-16 07:35:34 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2013-01-16 07:35:47 -0600 |
commit | b51011cb1c6192cd9b852d2f0d9f190f59abaab0 (patch) | |
tree | ecb58f11befa136dca693210cd4b8f0a1bc792e9 /testing/rinse/APKBUILD | |
parent | b4fe14bf6c66c49c7c605dc12eb7d60aa5c19c04 (diff) | |
download | aports-b51011cb1c6192cd9b852d2f0d9f190f59abaab0.tar.bz2 aports-b51011cb1c6192cd9b852d2f0d9f190f59abaab0.tar.xz |
testing/rinse: new aport
Diffstat (limited to 'testing/rinse/APKBUILD')
-rw-r--r-- | testing/rinse/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/rinse/APKBUILD b/testing/rinse/APKBUILD new file mode 100644 index 0000000000..66555420df --- /dev/null +++ b/testing/rinse/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=rinse +pkgver=2.0 +pkgrel=0 +pkgdesc="RPM chroot bootstrapping tool" +url="http://www.steve.org.uk/Software/rinse/" +arch="noarch" +license="Artistic" +depends="rpm perl wget" +depends_dev="" +makedepends="$depends_dev gzip coreutils" +install="" +subpackages="$pkgname-doc" +source="http://www.steve.org.uk/Software/rinse/rinse-$pkgver.tar.gz" + +_builddir="$srcdir"/rinse-$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 +} + +build() { + cd "$_builddir" +} + +package() { + cd "$_builddir" + make PREFIX="$pkgdir" install || return 1 +} + +md5sums="ccae96895b413bb1040a86d17bec4b06 rinse-2.0.tar.gz" |