Compare commits
3 commits
a4aeeaa4f9
...
a1d4da81fb
Author | SHA1 | Date | |
---|---|---|---|
a1d4da81fb | |||
c89120901a | |||
4b70d8dc29 |
4 changed files with 6 additions and 66 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -355,9 +355,6 @@
|
||||||
[submodule "redo-c"]
|
[submodule "redo-c"]
|
||||||
path = redo-c
|
path = redo-c
|
||||||
url = ssh://aur@aur.archlinux.org/redo-c.git
|
url = ssh://aur@aur.archlinux.org/redo-c.git
|
||||||
[submodule "redo-python"]
|
|
||||||
path = redo-python
|
|
||||||
url = ssh://aur@aur.archlinux.org/redo-python.git
|
|
||||||
[submodule "ruby-adsf"]
|
[submodule "ruby-adsf"]
|
||||||
path = ruby-adsf
|
path = ruby-adsf
|
||||||
url = ssh://aur@aur.archlinux.org/ruby-adsf.git
|
url = ssh://aur@aur.archlinux.org/ruby-adsf.git
|
||||||
|
|
|
@ -183,6 +183,12 @@ github = "zyantific/zycore-c"
|
||||||
use_max_tag = true
|
use_max_tag = true
|
||||||
prefix = "v"
|
prefix = "v"
|
||||||
|
|
||||||
|
[redo-python]
|
||||||
|
source = "github"
|
||||||
|
github = "apenwarr/redo"
|
||||||
|
use_max_tag = true
|
||||||
|
prefix = "redo-"
|
||||||
|
|
||||||
[redo-c]
|
[redo-c]
|
||||||
source = "github"
|
source = "github"
|
||||||
github = "leahneukirchen/redo-c"
|
github = "leahneukirchen/redo-c"
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit eb2490bbb18a172870c0fd64003c174db2215efa
|
|
|
@ -1,62 +0,0 @@
|
||||||
# Maintainer: George Rawlinson <grawlinson@archlinux.org>
|
|
||||||
|
|
||||||
pkgname=redo-sh
|
|
||||||
pkgver=4.0.4
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="Redo implementation in Bourne Shell"
|
|
||||||
arch=('any')
|
|
||||||
url="http://news.dieweltistgarnichtso.net/bin/redo-sh.html"
|
|
||||||
license=('AGPL3')
|
|
||||||
depends=('bash')
|
|
||||||
makedepends=('git')
|
|
||||||
optdepends=('graphviz: dependency graph support via redo-dot')
|
|
||||||
provides=('redo')
|
|
||||||
conflicts=('redo-python' 'redo-jdebp' 'redo-c')
|
|
||||||
_commit='039767509a6b52707f9fc28e8dc16c2da294b92b'
|
|
||||||
source=("$pkgname::git+http://news.dieweltistgarnichtso.net/bin.git#commit=$_commit")
|
|
||||||
b2sums=('SKIP')
|
|
||||||
|
|
||||||
pkgver() {
|
|
||||||
cd "$pkgname"
|
|
||||||
|
|
||||||
git describe --tags | sed 's/^redo-v//'
|
|
||||||
}
|
|
||||||
|
|
||||||
prepare() {
|
|
||||||
cd "$pkgname"
|
|
||||||
|
|
||||||
# description of each expression:
|
|
||||||
# 1 - strip executable components in middle of file
|
|
||||||
# 2 & 3 - remove shebang & subsequent 'cat' invocation
|
|
||||||
# 4 - remove html comments
|
|
||||||
# boom, we now have a valid HTML file
|
|
||||||
sed -i \
|
|
||||||
-e '/^EOF/,/^cat <<EOF/d' \
|
|
||||||
-e '/#!\/bin\/sh/d' \
|
|
||||||
-e '/cat <<EOF/d' \
|
|
||||||
-e '/^<!--/,/^-->/d' \
|
|
||||||
redo-sh.do
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd "$pkgname"
|
|
||||||
|
|
||||||
# scripts
|
|
||||||
find . \
|
|
||||||
-maxdepth 1 \
|
|
||||||
-executable \
|
|
||||||
-type f \
|
|
||||||
-name "redo*" \
|
|
||||||
-exec install -vDm755 -t "$pkgdir/usr/bin" "{}" +
|
|
||||||
|
|
||||||
# man pages
|
|
||||||
find . \
|
|
||||||
-maxdepth 1 \
|
|
||||||
-type f \
|
|
||||||
-name "redo*.1" \
|
|
||||||
-exec install -vDm644 -t "$pkgdir/usr/share/man/man1" "{}" +
|
|
||||||
|
|
||||||
# documentation
|
|
||||||
install -vDm644 "redo-sh.do" "$pkgdir/usr/share/doc/$pkgname/index.html"
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue