summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Oblaukhov2015-10-19 11:59:30 +0600
committerKonstantin Oblaukhov2015-10-19 11:59:30 +0600
commita04b9991bf5e96afc6388057e90c57f8b7a3e3ab (patch)
tree760196ce0a4a191c479c2ee6b01a8dce9d0cc968
downloadaur-a04b9991bf5e96afc6388057e90c57f8b7a3e3ab.tar.gz
Initial commit, version 3.0.2
-rw-r--r--.SRCINFO25
-rw-r--r--PKGBUILD38
-rw-r--r--sbin.patch31
3 files changed, 94 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e2923eda468
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,25 @@
+pkgbase = rinse
+ pkgdesc = Bootstrap a rpm based distribution like debootstrap
+ pkgver = 3.0.2
+ pkgrel = 1
+ url = http://collab-maint.alioth.debian.org/rinse/
+ arch = any
+ license = GPL
+ makedepends = make
+ depends = glibc
+ depends = perl
+ depends = perl-html-parser
+ depends = perl-uri
+ depends = perl-libwww
+ depends = rpm2cpio
+ depends = wget
+ depends = rpm-org
+ depends = cpio
+ backup = etc/rinse/rinse.conf
+ source = http://collab-maint.alioth.debian.org/rinse/download/rinse_3.0.2.tar.gz
+ source = sbin.patch
+ md5sums = 51c7875ae363ed35963e3b9fad344dd1
+ md5sums = a9f0c264fa8b2427bc7e327a632a2b0d
+
+pkgname = rinse
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..14f8c542b03
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Contributor: Michael Manley <mmanley@nasutek.com>
+# Contributor: Patrick CRESSANT <pcressant@yahoo.fr>
+# Contributor: Konstantin Oblaukhov <obko@mail.ru>
+
+# Rinse RPM Distro Bootstrapper
+
+pkgname=rinse
+pkgver=3.0.2
+pkgrel=1
+pkgdesc="Bootstrap a rpm based distribution like debootstrap"
+arch=('any')
+url="http://collab-maint.alioth.debian.org/rinse/"
+license=('GPL')
+groups=()
+depends=('glibc' 'perl' 'perl-html-parser' 'perl-uri' 'perl-libwww' 'rpm2cpio' 'wget' 'rpm-org' 'cpio')
+makedepends=('make')
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=('etc/rinse/rinse.conf')
+options=()
+install=
+source=("http://collab-maint.alioth.debian.org/rinse/download/rinse_3.0.2.tar.gz"
+ "sbin.patch")
+noextract=()
+md5sums=('51c7875ae363ed35963e3b9fad344dd1'
+ 'a9f0c264fa8b2427bc7e327a632a2b0d')
+
+prepare() {
+ patch -p0 -i $srcdir/sbin.patch
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ make PREFIX="$pkgdir/" sbindir="$pkgdir/bin" install
+}
+
diff --git a/sbin.patch b/sbin.patch
new file mode 100644
index 00000000000..f00c9f053e2
--- /dev/null
+++ b/sbin.patch
@@ -0,0 +1,31 @@
+--- rinse_orig/Makefile 2014-06-17 21:16:29.000000000 +0700
++++ rinse/Makefile 2015-10-19 11:45:52.398805700 +0600
+@@ -52,15 +52,15 @@
+ install: fixupperms
+ mkdir -p ${PREFIX}/etc/bash_completion.d
+ mkdir -p ${PREFIX}/etc/rinse
+- mkdir -p ${PREFIX}/usr/sbin
++ mkdir -p ${PREFIX}/usr/bin
+ mkdir -p ${PREFIX}/usr/lib/rinse
+ mkdir -p ${PREFIX}/usr/lib/rinse/common
+ cp -p ./scripts.common/* ${PREFIX}/usr/lib/rinse/common
+ chmod 755 ${PREFIX}/usr/lib/rinse/common/*.sh
+ mkdir -p ${PREFIX}/var/cache/rinse
+- cp -p bin/rinse ${PREFIX}/usr/sbin/
+- perl -pi -e "s/XXUNRELEASEDXX/$(VERSION)/" $(PREFIX)/usr/sbin/rinse*
+- chmod 755 ${PREFIX}/usr/sbin/rinse*
++ cp -p bin/rinse ${PREFIX}/usr/bin/
++ perl -pi -e "s/XXUNRELEASEDXX/$(VERSION)/" $(PREFIX)/usr/bin/rinse*
++ chmod 755 ${PREFIX}/usr/bin/rinse*
+ cp -p etc/*.packages ${PREFIX}/etc/rinse
+ cp -p etc/*.conf ${PREFIX}/etc/rinse
+ for i in scripts/*/; do name=`basename $$i`; mkdir -p ${PREFIX}/usr/lib/rinse/$$name ; cp $$i/*.sh ${PREFIX}/usr/lib/rinse/$$name ; done
+@@ -106,7 +106,7 @@
+ # Remove the software.
+ #
+ uninstall:
+- rm -f ${PREFIX}/usr/sbin/rinse
++ rm -f ${PREFIX}/usr/bin/rinse
+ rm -f ${PREFIX}/etc/rinse/*.conf
+ rm -f ${PREFIX}/etc/rinse/*.packages
+ rm -rf ${PREFIX}/var/cache/rinse