]> git.pld-linux.org Git - packages/adapter.git/commitdiff
adapter: add vim markers
authorElan Ruusamäe <glen@delfi.ee>
Mon, 28 Jan 2013 19:39:39 +0000 (21:39 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 28 Jan 2013 19:39:39 +0000 (21:39 +0200)
adapter.awk

index ab95e4c86689988aa96f7f08de0257b9d8bdde24..dc8743699e80e6bca892d0d15e7ceac50b093e40 100644 (file)
@@ -1894,6 +1894,7 @@ function replace_php_virtual_deps(field) {
        }
 }
 
+# {{{ replace_groupnames(group)
 function replace_groupnames(group) {
        group = replace(group, "Amusements/Games", "Applications/Games");
        group = replace(group, "Amusements/Games/Strategy/Real Time", "X11/Applications/Games/Strategy");
@@ -1963,7 +1964,9 @@ function replace_groupnames(group) {
 
        return group;
 }
+# }}}
 
+# {{{ replace_pkgconfig(pkg)
 function replace_pkgconfig(pkg,    cmd, path, n, i, line) {
        n = split("/usr/lib64/pkgconfig /usr/lib/pkgconfig /usr/share/pkgconfig", path, / /);
        for (i = 1; i <= n; i++) {
@@ -1980,7 +1983,9 @@ function replace_pkgconfig(pkg,    cmd, path, n, i, line) {
                }
        }
 }
+# }}}
 
+# {{{ replace_pythonegg(pkg)
 function replace_pythonegg(pkg,    cmd, line) {
        cmd = "rpm -q --qf '%{N}' --whatprovides 'pythonegg(" pkg ")'";
        # Getline returns 0 on end-of-file, -1 on error, otherwise 1.
@@ -1994,6 +1999,7 @@ function replace_pythonegg(pkg,    cmd, line) {
                return;
        }
 }
+# }}}
 
 function replace_requires(field,   pkg) {
        # pkg-config -> package names
This page took 0.052566 seconds and 4 git commands to generate.