Only one similar build in the engine, GD's The Fighting Ariel of Ehlonna, but it is a diametrically different build.

With this build you will have a nice ranged AB for a Cleric, decent HP and good spell DCs, mainly Evocation. AC is not excellent, but you shouldn't be engaged in too much melee. Also, no XP penalty.

Ranged Nuker, playable 1-40 PvM
Human

Stats
STR 10
DEX 10
CON 16
INT 14
WIS 16 (32)
CHA 8

Level progression
01: Cleric(1): Spell Penetration, Blind Fight, Domain Strength, Domain Trickery
02: Cleric(2)
03: Cleric(3): Weapon Proficiency Martial
04: Cleric(4): WIS+1, (WIS=17)
05: Cleric(5)
06: Cleric(6): Zen Archery
07: Cleric(7)
08: Cleric(8): WIS+1, (WIS=18)
09: Cleric(9): Empower Spell
10: Cleric(10)
11: Cleric(11)
12: Cleric(12): WIS+1, Spell Focus: Evocation, (WIS=19)
13: Cleric(13)
14: Cleric(14)
15: Cleric(15): Greater Spell Penetration
16: Cleric(16): WIS+1, (WIS=20)
17: Cleric(17)
18: Cleric(18): Weapon Focus: Longbow
19: Cleric(19)
20: Cleric(20): WIS+1, (WIS=21)
21: Cleric(21): Great Wisdom I, (WIS=22)
22: Rogue(1)
23: Fighter(1): Epic Weapon Focus: Longbow
24: Cleric(22): WIS+1, Great Wisdom II, (WIS=24)
25: Cleric(23): Epic Spell Penetration
26: Cleric(24)
27: Rogue(2): Great Wisdom III, {Evasion}, (WIS=25)
28: Fighter(2): WIS+1, Epic Prowess, (WIS=26)
29: Cleric(25)
30: Cleric(26): Greater Spell Focus: Evocation, Armor Skin
31: Cleric(27)
32: Rogue(3): WIS+1, {Uncanny Dodge I}, (WIS=27)
33: Fighter(3): Great Wisdom IV, (WIS=28)
34: Cleric(28)
35: Cleric(29): Great Wisdom V, (WIS=29)
36: Cleric(30): WIS+1, Epic Spell Focus: Evocation, (WIS=30)
37: Rogue(4)
38: Cleric(31)
39: Fighter(4): Weapon Specialization: Longbow, Epic Weapon Specialization: Longbow
40: Cleric(32): WIS+1, Great Wisdom VI, (WIS=32)

Ending stats
STR 10
DEX 10
CON 16
INT 14
WIS 32
CHA 8

Skills - 239 skill points
Concentration 43(46)
Discipline 42(42)
Spellcraft 43(45)
Tumble 40(40)
UMD 40(39)
31 leftover

Combat Vitals
BAB: 25 (to take advantage of Divine Power)
AB: 40 (mundane longbow)
AC: 20(naked)/28 (mundane plate)
HP: 440

Saves (+9 vs. spells)
Fort 25
Refl 16 (Evasion which won't kick in too much, but nice to have)
Will 33

Others
Evasion
2d6 Sneak Attack
Epic Weapon Specialization (kind of late in the build)
Implosion DC 39

One could say that going for an archer without AA levels, Sneak Attack or Divine Might is useless, but if there are magic arrows to be found, this character can make an efficient archer. Anyways, that's not the emphasis of the build.
If this were a level 40 build, drop Martial Weapon Proficiency and get it for free with Fighter. You could drop 2 Rogue levels, but playability will be decreased and you'll face an XP penalty.

Any suggestions are appreciated.